aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/hosts.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-08 12:48:53 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-08 12:48:53 +0100
commit3d868521f60b1b8d5d1106e4b8cd089a018328e3 (patch)
treeb90f4563965fe8d64fb7346f3fb65f7c2cc86151 /pydis_site/hosts.py
parentAdd django-wiki, and downgrade to Django 2.1 (diff)
First attempt at getting the wiki up
Diffstat (limited to 'pydis_site/hosts.py')
-rw-r--r--pydis_site/hosts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py
index 34acfd09..fc43d0eb 100644
--- a/pydis_site/hosts.py
+++ b/pydis_site/hosts.py
@@ -4,6 +4,7 @@ from django_hosts import host, patterns
host_patterns = patterns(
'',
# host(r"subdomain pattern", "URLs module", "host entry name")
+ host(r'wiki', 'pydis_site.apps.wiki_container.urls', name="wiki"),
host(r'admin', 'pydis_site.apps.admin.urls', name="admin"),
host(r'api', 'pydis_site.apps.api.urls', name='api'),
host(r'.*', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST)