diff options
author | 2018-09-08 00:05:43 +0200 | |
---|---|---|
committer | 2018-09-08 00:06:09 +0200 | |
commit | 6aca3c625702dbca98e945806a02636868c25ec8 (patch) | |
tree | fbafe1a159a1a7a8b023dd3702bc475f821dce3d /pysite/urls.py | |
parent | Allow configuring allowed hosts with env var. (diff) |
Add the `admin` subdomain with the Django Admin.
Diffstat (limited to 'pysite/urls.py')
-rw-r--r-- | pysite/urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pysite/urls.py b/pysite/urls.py index 3e2e05e8..e162a092 100644 --- a/pysite/urls.py +++ b/pysite/urls.py @@ -1,6 +1,6 @@ from django.urls import include, path -urlpatterns = [ - path('', include('home.urls', namespace='home')) -] +urlpatterns = ( + path('', include('home.urls', namespace='home')), +) |