diff options
author | 2018-08-14 18:49:37 +0200 | |
---|---|---|
committer | 2018-08-14 18:49:37 +0200 | |
commit | 3ceb57485f15b1e4fee8bf186900c4facc1dd0b1 (patch) | |
tree | 8cd524b8a07308c6abdc74c0ac82e3f2430993ff /pysite/hosts.py | |
parent | Build PostgreSQL requirements. (diff) |
Add `api.` subdomain to host configuration.
Diffstat (limited to 'pysite/hosts.py')
-rw-r--r-- | pysite/hosts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/hosts.py b/pysite/hosts.py index 28633be5..827f49c3 100644 --- a/pysite/hosts.py +++ b/pysite/hosts.py @@ -5,7 +5,7 @@ host_patterns = patterns( '', # > | Subdomain | URL Module | Host entry name | #host(r"admin", "admin", name="admin"), - #host(r"api", "api", name="api"), + 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"), |