diff options
author | 2021-11-05 10:09:35 +0530 | |
---|---|---|
committer | 2021-11-05 10:09:35 +0530 | |
commit | 747a7b9cb465c85a064ac6e1a0444bcf8a81ec65 (patch) | |
tree | 1bb529b764bed5c727a3956b7bb432a18ec82d43 /pydis_site/apps/home/urls.py | |
parent | Merge branch 'main' into otn_softdel (diff) | |
parent | Merge pull request #617 from python-discord/mbaruh-patch-1 (diff) |
Pull from upstream/main and resolve conflicts.
Diffstat (limited to 'pydis_site/apps/home/urls.py')
-rw-r--r-- | pydis_site/apps/home/urls.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py index 1e2af8f3..30321ece 100644 --- a/pydis_site/apps/home/urls.py +++ b/pydis_site/apps/home/urls.py @@ -1,15 +1,9 @@ -from django.contrib import admin -from django.urls import include, path +from django_distill import distill_path from .views import HomeView, timeline app_name = 'home' urlpatterns = [ - path('', HomeView.as_view(), name='home'), - path('', include('pydis_site.apps.redirect.urls')), - path('admin/', admin.site.urls), - path('resources/', include('pydis_site.apps.resources.urls')), - path('pages/', include('pydis_site.apps.content.urls')), - path('events/', include('pydis_site.apps.events.urls', namespace='events')), - path('timeline/', timeline, name="timeline"), + distill_path('', HomeView.as_view(), name='home'), + distill_path('timeline/', timeline, name="timeline"), ] |