aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/apps/content/urls.py')
-rw-r--r--pydis_site/apps/content/urls.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pydis_site/apps/content/urls.py b/pydis_site/apps/content/urls.py
new file mode 100644
index 00000000..c11b222a
--- /dev/null
+++ b/pydis_site/apps/content/urls.py
@@ -0,0 +1,9 @@
+from django.urls import path
+
+from . import views
+
+app_name = "content"
+urlpatterns = [
+ path("", views.PageOrCategoryView.as_view(), name='pages'),
+ path("<path:location>/", views.PageOrCategoryView.as_view(), name='page_category'),
+]