Skip to content
Snippets Groups Projects
Commit f1c04cbf authored by Andrea Bignamini's avatar Andrea Bignamini
Browse files

Rename Euclid project from orm_example to euclid_example

The Django Project with the example about Euclid has been
renamed from orm_example (the name of the repo) to euclid_example.
Other ORM examples can be added in this same repo without name conflict.
parent 962eeacf
Branches
No related tags found
No related merge requests found
Pipeline #409 failed
Showing
with 7 additions and 7 deletions
File moved
File moved
File moved
File moved
"""
Django settings for orm_example project.
Django settings for euclid_example project.
Generated by 'django-admin startproject' using Django 2.1.1.
......@@ -59,7 +59,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'orm_example.urls'
ROOT_URLCONF = 'euclid_example.urls'
TEMPLATES = [
{
......@@ -77,7 +77,7 @@ TEMPLATES = [
},
]
WSGI_APPLICATION = 'orm_example.wsgi.application'
WSGI_APPLICATION = 'euclid_example.wsgi.application'
# Database
......
"""orm_example URL Configuration
"""euclid_example URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.1/topics/http/urls/
......
"""
WSGI config for orm_example project.
WSGI config for euclid_example project.
It exposes the WSGI callable as a module-level variable named ``application``.
......@@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'orm_example.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'euclid_example.settings')
application = get_wsgi_application()
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
......@@ -3,7 +3,7 @@ import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'orm_example.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'euclid_example.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment