aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/urls.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-10-10 01:30:06 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-10-10 01:30:06 +0300
commit247c4ba220f9ee73767f4aac2737e520e7ec4b07 (patch)
tree8e3f7ca2ae7c3c8382007adf0d43d8456e7447b7 /pydis_site/apps/home/urls.py
parentAdds Django Distill To Project (diff)
Adds Static Route Configurations
Adds configuration which specifies how routes should be handled when building a static preview.
Diffstat (limited to 'pydis_site/apps/home/urls.py')
-rw-r--r--pydis_site/apps/home/urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py
index 57abc942..30321ece 100644
--- a/pydis_site/apps/home/urls.py
+++ b/pydis_site/apps/home/urls.py
@@ -1,9 +1,9 @@
-from django.urls import path
+from django_distill import distill_path
from .views import HomeView, timeline
app_name = 'home'
urlpatterns = [
- path('', HomeView.as_view(), name='home'),
- path('timeline/', timeline, name="timeline"),
+ distill_path('', HomeView.as_view(), name='home'),
+ distill_path('timeline/', timeline, name="timeline"),
]