diff options
author | 2018-08-30 20:02:09 +0200 | |
---|---|---|
committer | 2018-08-30 20:42:05 +0200 | |
commit | 37ff9fe6cdc6fff84ccda6c5d610a521288d99ce (patch) | |
tree | c6e2def3acee7ea83f37cae7ae55044d7c52199b /pysite | |
parent | Add CI build script. (diff) |
Proeprly set up lint and test stages.
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/hosts.py | 8 | ||||
-rw-r--r-- | pysite/settings.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pysite/hosts.py b/pysite/hosts.py index 827f49c3..67fc2451 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", name="admin"), + # host(r"admin", "admin", 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"staff", "staff", name="staff"), + # host(r"wiki", "wiki", name="wiki"), + # host(r"ws", "ws", name="ws"), host(r'.*', 'home.urls', name=settings.DEFAULT_HOST) ) diff --git a/pysite/settings.py b/pysite/settings.py index 3392426d..16235e09 100644 --- a/pysite/settings.py +++ b/pysite/settings.py @@ -11,7 +11,7 @@ https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os -import sys +# import sys import environ |