aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/urls.py
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2021-11-05 10:09:35 +0530
committerGravatar RohanJnr <[email protected]>2021-11-05 10:09:35 +0530
commit747a7b9cb465c85a064ac6e1a0444bcf8a81ec65 (patch)
tree1bb529b764bed5c727a3956b7bb432a18ec82d43 /pydis_site/apps/home/urls.py
parentMerge branch 'main' into otn_softdel (diff)
parentMerge 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.py12
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"),
]