aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-01-29 12:42:12 +0100
committerGravatar Leon Sandøy <[email protected]>2022-01-29 12:42:12 +0100
commit473a15a3dbaf0ff2ccc7fdbeaafc96e0e853949e (patch)
tree137efec05cc7d47464467cecf8c676d78a3d91cf /pydis_site/apps/resources
parentLet the user know when there are no matches. (diff)
Distill the resources page.
This should allow Netlify Deploy Previews.
Diffstat (limited to 'pydis_site/apps/resources')
-rw-r--r--pydis_site/apps/resources/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/resources/urls.py b/pydis_site/apps/resources/urls.py
index 3db26417..5d5ae7fb 100644
--- a/pydis_site/apps/resources/urls.py
+++ b/pydis_site/apps/resources/urls.py
@@ -1,8 +1,8 @@
-from django.urls import path
+from django_distill import distill_path
from pydis_site.apps.resources import views
app_name = "resources"
urlpatterns = [
- path("", views.resources.ResourceView.as_view(), name="index"),
+ distill_path("", views.resources.ResourceView.as_view(), name="index"),
]