aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources/urls.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2021-05-19 09:02:21 +0200
committerGravatar Leon Sandøy <[email protected]>2021-05-19 09:02:21 +0200
commit5c37aee79c04d9199dc47b9d60f9899a0f6571d9 (patch)
tree9041c01dc0124fe96be467de7bb994daa372efd3 /pydis_site/apps/resources/urls.py
parentAdd bulma-modal, we'll need it later. (diff)
Dramatically simplify resources.
We don't need _category_info, we don't need subcategories, we this will be much simpler now. Also, rglob is nice.
Diffstat (limited to 'pydis_site/apps/resources/urls.py')
-rw-r--r--pydis_site/apps/resources/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/resources/urls.py b/pydis_site/apps/resources/urls.py
index 19142081..cd4f53e7 100644
--- a/pydis_site/apps/resources/urls.py
+++ b/pydis_site/apps/resources/urls.py
@@ -5,5 +5,5 @@ from pydis_site.apps.resources import views
app_name = "resources"
urlpatterns = [
path("", views.ResourcesView.as_view(), name="index"),
- path("<str:category>/", views.ResourcesListView.as_view(), name="resources")
+ path("list/", views.ResourcesListView.as_view(), name="resources")
]