aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/urls.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-08 00:05:43 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-08 00:06:09 +0200
commit6aca3c625702dbca98e945806a02636868c25ec8 (patch)
treefbafe1a159a1a7a8b023dd3702bc475f821dce3d /pysite/urls.py
parentAllow 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.py6
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')),
+)