diff options
| author | 2019-04-08 12:48:53 +0100 | |
|---|---|---|
| committer | 2019-04-08 12:48:53 +0100 | |
| commit | 3d868521f60b1b8d5d1106e4b8cd089a018328e3 (patch) | |
| tree | b90f4563965fe8d64fb7346f3fb65f7c2cc86151 /pydis_site/apps/wiki_container | |
| parent | Add django-wiki, and downgrade to Django 2.1 (diff) | |
First attempt at getting the wiki up
Diffstat (limited to 'pydis_site/apps/wiki_container')
| -rw-r--r-- | pydis_site/apps/wiki_container/__init__.py | 0 | ||||
| -rw-r--r-- | pydis_site/apps/wiki_container/apps.py | 6 | ||||
| -rw-r--r-- | pydis_site/apps/wiki_container/urls.py | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/pydis_site/apps/wiki_container/__init__.py b/pydis_site/apps/wiki_container/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/pydis_site/apps/wiki_container/__init__.py diff --git a/pydis_site/apps/wiki_container/apps.py b/pydis_site/apps/wiki_container/apps.py new file mode 100644 index 00000000..874ae8e4 --- /dev/null +++ b/pydis_site/apps/wiki_container/apps.py @@ -0,0 +1,6 @@ +from wiki.apps import WikiConfig + + +class WikiContainerConfig(WikiConfig): + name = 'wiki_container' + default_site = 'pydis_site.sites.PyDisWikiSite' diff --git a/pydis_site/apps/wiki_container/urls.py b/pydis_site/apps/wiki_container/urls.py new file mode 100644 index 00000000..1537fe8c --- /dev/null +++ b/pydis_site/apps/wiki_container/urls.py @@ -0,0 +1,6 @@ +from django.urls import path, include + +urlpatterns = [ + path('notifications/', include('django_nyt.urls')), + path('', include('wiki.urls')) +] |