Finally changed module name
finally changed the module name and fixed the error.with_posts
parent
1e7ff8f38d
commit
28a1d92549
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
ASGI config for TechBlog project.
|
||||
ASGI config for BH project.
|
||||
|
||||
It exposes the ASGI callable as a module-level variable named ``application``.
|
||||
|
||||
|
|
@ -11,6 +11,6 @@ import os
|
|||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'TechBlog.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'BH.settings')
|
||||
|
||||
application = get_asgi_application()
|
||||
|
|
@ -53,7 +53,7 @@ MIDDLEWARE = [
|
|||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'TechBlog.urls'
|
||||
ROOT_URLCONF = 'BH.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
|
|
@ -71,7 +71,7 @@ TEMPLATES = [
|
|||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'TechBlog.wsgi.application'
|
||||
WSGI_APPLICATION = 'BH.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
WSGI config for TechBlog project.
|
||||
WSGI config for BH 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', 'TechBlog.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'BH.settings')
|
||||
|
||||
application = get_wsgi_application()
|
||||
Loading…
Reference in New Issue