diff options
author | 2021-05-14 17:46:00 +0100 | |
---|---|---|
committer | 2021-05-14 17:46:00 +0100 | |
commit | 2836913d98e762d819d6d50ec668112077e8a3a9 (patch) | |
tree | ccb02577b40ad4c92b56c8c6d3ae1c53e90afe26 /pydis_site/apps/content/urls.py | |
parent | Merge pull request #486 from python-discord/bast0006-patch-error-page-margins (diff) | |
parent | Remove 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.py | 9 |
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'), +] |