From f29472a56f925127a077c4cadcc13fa852dc665b Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sat, 13 Apr 2019 16:16:11 +0200 Subject: refactoring slightly to use a class-based view, changing home to main. Ready to write the API search stuff now. --- pydis_site/hosts.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pydis_site/hosts.py') 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) ) -- cgit v1.2.3