aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/urls.py
diff options
context:
space:
mode:
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"),
]