diff options
| author | 2021-10-17 13:41:51 +0100 | |
|---|---|---|
| committer | 2021-10-17 13:41:51 +0100 | |
| commit | f5ab651b1f8e2dc9f498198087750d4c38010320 (patch) | |
| tree | d101820efaa59f066e37d3aa4d6908663498a1ba /pydis_site/apps/home/urls.py | |
| parent | Direct appeals to the appeals server (diff) | |
| parent | Merge pull request #613 from python-discord/mbaruh-patch-1 (diff) | |
Merge branch 'main' into new-ban-appeals-process
Diffstat (limited to 'pydis_site/apps/home/urls.py')
| -rw-r--r-- | pydis_site/apps/home/urls.py | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py index bb77220b..30321ece 100644 --- a/pydis_site/apps/home/urls.py +++ b/pydis_site/apps/home/urls.py @@ -1,16 +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('', include('django_prometheus.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"), ] |