aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/urls.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-05-14 17:46:00 +0100
committerGravatar GitHub <[email protected]>2021-05-14 17:46:00 +0100
commit2836913d98e762d819d6d50ec668112077e8a3a9 (patch)
treeccb02577b40ad4c92b56c8c6d3ae1c53e90afe26 /pydis_site/apps/content/urls.py
parentMerge pull request #486 from python-discord/bast0006-patch-error-page-margins (diff)
parentRemove stale dependency. (diff)
Merge pull request #487 from python-discord/dewikification
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'),
+]