diff options
| author | 2018-11-02 18:39:48 +0000 | |
|---|---|---|
| committer | 2018-11-02 18:39:48 +0000 | |
| commit | 6c4666d36d2853a4ee8b9fd61086a1e4f1dd7776 (patch) | |
| tree | 3ae797514bd5d13582075165936aaa503e38daef /pysite/hosts.py | |
| parent | Merge branch 'snake_idioms' into 'django' (diff) | |
| parent | Added help text (diff) | |
Merge branch 'special_snakes' into 'django'
Django - Special Snakes API
See merge request python-discord/projects/site!45
Diffstat (limited to 'pysite/hosts.py')
| -rw-r--r-- | pysite/hosts.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/pysite/hosts.py b/pysite/hosts.py index 3cf41e7f..9d4c1ce9 100644 --- a/pysite/hosts.py +++ b/pysite/hosts.py @@ -4,10 +4,10 @@ from django_hosts import host, patterns  host_patterns = patterns(      '',      # > | Subdomain | URL Module   | Host entry name | -    host(r'admin', 'admin.urls',  name="admin"), -    host(r'api',   'api.urls',    name='api'), +    host(r'admin', 'admin.urls', name="admin"), +    host(r'api', 'api.urls', name='api'),      # host(r"staff",    "staff",  name="staff"),      # host(r"wiki",     "wiki",   name="wiki"),      # host(r"ws",       "ws",     name="ws"), -    host(r'.*',       'home.urls',   name=settings.DEFAULT_HOST) +    host(r'.*', 'home.urls', name=settings.DEFAULT_HOST)  ) | 
