diff options
author | 2018-08-11 23:23:40 +0200 | |
---|---|---|
committer | 2018-08-11 23:23:40 +0200 | |
commit | 8bec0c42125637de740e44a6dd6c26cb3a71a467 (patch) | |
tree | 8313c889cd91e83be414a567f41a192ae4797d18 /pydis_django/hosts.py | |
parent | Initial project layout for django (diff) |
Rename `pydis_django` to `pysite`.
Diffstat (limited to 'pydis_django/hosts.py')
-rw-r--r-- | pydis_django/hosts.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pydis_django/hosts.py b/pydis_django/hosts.py deleted file mode 100644 index 898902dc..00000000 --- a/pydis_django/hosts.py +++ /dev/null @@ -1,15 +0,0 @@ -from django.conf import settings -from django_hosts import host, patterns - -host_patterns = patterns( - "pydis_django.urls", - - # > | Subdomain | URL Module | Host entry name | - host(r"admin", "admin", name="admin"), - host(r"api", "api", name="api"), - host(r"staff", "staff", name="staff"), - host(r"wiki", "wiki", name="wiki"), - host(r"ws", "ws", name="ws"), - - host(r".*", "main", name=settings.DEFAULT_HOST) -) |