Commit a1f2712f authored by Anya Habana's avatar Anya Habana

added homepage url

parent 7de3956a
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = 'homepage'
\ No newline at end of file
...@@ -42,7 +42,8 @@ INSTALLED_APPS = [ ...@@ -42,7 +42,8 @@ INSTALLED_APPS = [
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'announcements', 'announcements',
'forum' 'forum',
'homepage',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
......
...@@ -20,4 +20,5 @@ urlpatterns = [ ...@@ -20,4 +20,5 @@ 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')), path('forum/', include('forum.urls', namespace='forum')),
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