Commit 038516e4 authored by Florent Chehab's avatar Florent Chehab
Browse files

folder renamed

parent 4afa1ada
...@@ -49,7 +49,7 @@ MIDDLEWARE = [ ...@@ -49,7 +49,7 @@ MIDDLEWARE = [
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
'general_site.middleware.LoginRequiredMiddleware', 'general.middleware.LoginRequiredMiddleware',
] ]
LOGIN_URL = 'accounts/login' LOGIN_URL = 'accounts/login'
...@@ -70,7 +70,7 @@ CAS_RENAME_ATTRIBUTES={ ...@@ -70,7 +70,7 @@ CAS_RENAME_ATTRIBUTES={
SESSION_EXPIRE_AT_BROWSER_CLOSE=True SESSION_EXPIRE_AT_BROWSER_CLOSE=True
ROOT_URLCONF = 'general_site.urls' ROOT_URLCONF = 'general.urls'
TEMPLATES = [ TEMPLATES = [
{ {
...@@ -88,7 +88,7 @@ TEMPLATES = [ ...@@ -88,7 +88,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = 'general_site.wsgi.application' WSGI_APPLICATION = 'general.wsgi.application'
# Database # Database
......
...@@ -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", "general_site.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "general.settings")
application = get_wsgi_application() application = get_wsgi_application()
...@@ -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", "general_site.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "general.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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment