diff options
author | 2020-10-26 19:44:11 +0200 | |
---|---|---|
committer | 2020-10-26 19:44:11 +0200 | |
commit | 00d3d1c651e7032828516a35718dbc8d2e78f6a9 (patch) | |
tree | 244d1979d44b585e106f23dc916a4a9aca3f1284 /pydis_site | |
parent | Add events app to INSTALLED_APPS (diff) |
Include events URLs to home URLs
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/home/urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py index 024437f7..c9d2935d 100644 --- a/pydis_site/apps/home/urls.py +++ b/pydis_site/apps/home/urls.py @@ -1,5 +1,5 @@ from django.contrib import admin -from django.urls import path +from django.urls import include, path from .views import HomeView @@ -7,4 +7,5 @@ app_name = 'home' urlpatterns = [ path('', HomeView.as_view(), name='home'), path('admin/', admin.site.urls), + path('events/', include('pydis_site.apps.events.urls', namespace='events')), ] |