aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/urls.py
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-03-30 13:26:11 +0300
committerGravatar GitHub <[email protected]>2021-03-30 13:26:11 +0300
commit397d143161563fcdfcec32637e8d4d03dd6541f2 (patch)
treef2d32e6f9b8dae443ab8936cbcd4d03bc78fcaa4 /pydis_site/apps/content/urls.py
parentFix applying description changes to wrong places (diff)
parentMerge pull request #393 from ks129/guides-app (diff)
Merge branch 'dewikification' into resources-lists
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'),
+]