Skip to content
Snippets Groups Projects
Commit f37b9dfe authored by florimondmanca's avatar florimondmanca
Browse files

rename project to oser_backend

parent 69b09c2d
No related branches found
No related tags found
No related merge requests found
Showing
with 6 additions and 6 deletions
File moved
File moved
File moved
...@@ -3,7 +3,7 @@ import os ...@@ -3,7 +3,7 @@ import os
import sys import sys
if __name__ == "__main__": if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oser_cs.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oser_backend.settings")
try: try:
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
except ImportError as exc: except ImportError as exc:
......
File moved
""" """
Django settings for oserwebsite project. Django settings for oser_backend project.
Base settings common to all environments. Base settings common to all environments.
""" """
...@@ -59,7 +59,7 @@ MIDDLEWARE = [ ...@@ -59,7 +59,7 @@ MIDDLEWARE = [
] ]
CORS_ORIGIN_ALLOW_ALL = True CORS_ORIGIN_ALLOW_ALL = True
ROOT_URLCONF = 'oser_cs.urls' ROOT_URLCONF = 'oser_backend.urls'
TEMPLATES = [ TEMPLATES = [
{ {
...@@ -77,7 +77,7 @@ TEMPLATES = [ ...@@ -77,7 +77,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = 'oser_cs.wsgi.application' WSGI_APPLICATION = 'oser_backend.wsgi.application'
# Flash messages classes # Flash messages classes
MESSAGE_TAGS = { MESSAGE_TAGS = {
......
File moved
""" """
WSGI config for oser_cs project. WSGI config for oser_backend project.
It exposes the WSGI callable as a module-level variable named ``application``. It exposes the WSGI callable as a module-level variable named ``application``.
...@@ -11,6 +11,6 @@ import os ...@@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oser_cs.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oser_backend.settings")
application = get_wsgi_application() application = get_wsgi_application()
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment