diff options
author | 2022-01-29 12:42:12 +0100 | |
---|---|---|
committer | 2022-01-29 12:42:12 +0100 | |
commit | 473a15a3dbaf0ff2ccc7fdbeaafc96e0e853949e (patch) | |
tree | 137efec05cc7d47464467cecf8c676d78a3d91cf | |
parent | Let the user know when there are no matches. (diff) |
Distill the resources page.
This should allow Netlify Deploy Previews.
-rw-r--r-- | pydis_site/apps/resources/urls.py | 4 |
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"), ] |