diff options
author | 2018-09-08 00:05:43 +0200 | |
---|---|---|
committer | 2018-09-08 00:06:09 +0200 | |
commit | 6aca3c625702dbca98e945806a02636868c25ec8 (patch) | |
tree | fbafe1a159a1a7a8b023dd3702bc475f821dce3d /admin | |
parent | Allow configuring allowed hosts with env var. (diff) |
Add the `admin` subdomain with the Django Admin.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/__init__.py | 0 | ||||
-rw-r--r-- | admin/urls.py | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/admin/__init__.py b/admin/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/admin/__init__.py diff --git a/admin/urls.py b/admin/urls.py new file mode 100644 index 00000000..c0970e5d --- /dev/null +++ b/admin/urls.py @@ -0,0 +1,9 @@ +from django.contrib import admin +from django.http import HttpResponseRedirect +from django.urls import path +from django_hosts import reverse + + +urlpatterns = ( + path('', admin.site.urls), +) |