Add namespace in project urls, add Forum in installed apps

parent bb6bafca
...@@ -41,6 +41,7 @@ INSTALLED_APPS = [ ...@@ -41,6 +41,7 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'Forum',
'Homepage', 'Homepage',
] ]
......
...@@ -18,6 +18,6 @@ from django.urls import path, include ...@@ -18,6 +18,6 @@ from django.urls import path, include
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('forum/', include('Forum.urls')), path('forum/', include('Forum.urls', namespace='Forum')),
path('homepage/', include('Homepage.urls', namespace="Homepage")) path('homepage/', include('Homepage.urls', namespace="Homepage"))
] ]
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