Skip to content

Commit 9981fdc

Browse files
committed
Minor setup config changes
1 parent a74499e commit 9981fdc

12 files changed

+6
-5
lines changed
135 Bytes
Binary file not shown.
176 Bytes
Binary file not shown.
173 Bytes
Binary file not shown.
Binary file not shown.
-143 Bytes
Binary file not shown.
-2.26 KB
Binary file not shown.

conf/__pycache__/urls.cpython-37.pyc

-926 Bytes
Binary file not shown.

conf/__pycache__/wsgi.cpython-37.pyc

-562 Bytes
Binary file not shown.

conf/asgi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
from django.core.asgi import get_asgi_application
1313

14-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Chatbot_backend.settings')
14+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conf.settings')
1515

1616
application = get_asgi_application()

conf/settings.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
'django.contrib.messages',
4646
'django.contrib.staticfiles',
4747
'rest_framework',
48+
'chatbot'
4849

4950
]
5051

@@ -58,7 +59,7 @@
5859
'django.middleware.clickjacking.XFrameOptionsMiddleware',
5960
]
6061

61-
ROOT_URLCONF = 'Chatbot_backend.urls'
62+
ROOT_URLCONF = 'conf.urls'
6263

6364
TEMPLATES = [
6465
{
@@ -76,7 +77,7 @@
7677
},
7778
]
7879

79-
WSGI_APPLICATION = 'Chatbot_backend.wsgi.application'
80+
WSGI_APPLICATION = 'conf.wsgi.application'
8081

8182

8283
# Database

conf/wsgi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
from django.core.wsgi import get_wsgi_application
1313

14-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Chatbot_backend.settings')
14+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conf.settings')
1515

1616
application = get_wsgi_application()

manage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
def main():
88
"""Run administrative tasks."""
9-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Chatbot_backend.settings')
9+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conf.settings')
1010
try:
1111
from django.core.management import execute_from_command_line
1212
except ImportError as exc:

0 commit comments

Comments
 (0)