diff options
author | 2021-03-30 13:26:11 +0300 | |
---|---|---|
committer | 2021-03-30 13:26:11 +0300 | |
commit | 397d143161563fcdfcec32637e8d4d03dd6541f2 (patch) | |
tree | f2d32e6f9b8dae443ab8936cbcd4d03bc78fcaa4 /pydis_site/apps/content/urls.py | |
parent | Fix applying description changes to wrong places (diff) | |
parent | Merge 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.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'), +] |