aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/urls.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-10-17 13:41:51 +0100
committerGravatar GitHub <[email protected]>2021-10-17 13:41:51 +0100
commitf5ab651b1f8e2dc9f498198087750d4c38010320 (patch)
treed101820efaa59f066e37d3aa4d6908663498a1ba /pydis_site/apps/home/urls.py
parentDirect appeals to the appeals server (diff)
parentMerge 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.py13
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"),
]