aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/hosts.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-04-13 16:16:11 +0200
committerGravatar Leon Sandøy <[email protected]>2019-04-13 16:16:11 +0200
commitf29472a56f925127a077c4cadcc13fa852dc665b (patch)
tree34fcafe8e98ab0d9babc87f2118250ecbe697bda /pydis_site/hosts.py
parentAdded hrefs for the cards (diff)
refactoring slightly to use a class-based view, changing home to main. Ready to write the API search stuff now.
Diffstat (limited to 'pydis_site/hosts.py')
-rw-r--r--pydis_site/hosts.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py
index 34acfd09..9e58628c 100644
--- a/pydis_site/hosts.py
+++ b/pydis_site/hosts.py
@@ -3,8 +3,7 @@ from django_hosts import host, patterns
host_patterns = patterns(
'',
- # host(r"subdomain pattern", "URLs module", "host entry name")
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)
+ host(r'.*', 'pydis_site.apps.main.urls', name=settings.DEFAULT_HOST)
)