Commit 0cbd0980 authored by Rurik Serzo's avatar Rurik Serzo

added forums url

parent 2e4aa275
from django.urls import path
from .views import index
urlpatterns = [
path("", index, name="index")
]
app_name = "Forum"
...@@ -41,7 +41,8 @@ INSTALLED_APPS = [ ...@@ -41,7 +41,8 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'announcements' 'announcements',
'forum'
] ]
MIDDLEWARE = [ MIDDLEWARE = [
......
...@@ -19,4 +19,5 @@ from django.urls import path, include ...@@ -19,4 +19,5 @@ from django.urls import path, include
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('announcements/', include('announcements.urls', namespace='announcements')), path('announcements/', include('announcements.urls', namespace='announcements')),
path('forum/', include('forum.urls', namespace='forum')),
] ]
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