aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-10 11:42:54 -0500
committerBobby <[email protected]>2022-11-10 11:42:54 -0500
commit6c81e470ee03e2bab578e74044ab3946a5b5e4ed (patch)
treeb40fdb4f0ab36cb92f32522e6f247d5ef7583f39
parent188e2bd855e4166493b118f3d9e9b8a90f2a7e4a (diff)
downloadthatcomputerscientist-6c81e470ee03e2bab578e74044ab3946a5b5e4ed.tar.xz
thatcomputerscientist-6c81e470ee03e2bab578e74044ab3946a5b5e4ed.zip
disable subdomain routing
-rw-r--r--thatcomputerscientist/settings.py2
-rw-r--r--thatcomputerscientist/urls.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py
index 20d42906..6514ced5 100644
--- a/thatcomputerscientist/settings.py
+++ b/thatcomputerscientist/settings.py
@@ -62,8 +62,6 @@ MIDDLEWARE = [
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
- 'middleware.subdomainmiddleware.SubdomainMiddleware',
- 'middleware.subdomainmiddleware.SubdomainURLRouting',
]
CONFIGURED_SUBDOMAINS = {
diff --git a/thatcomputerscientist/urls.py b/thatcomputerscientist/urls.py
index 92828e7c..b1bf8a79 100644
--- a/thatcomputerscientist/urls.py
+++ b/thatcomputerscientist/urls.py
@@ -23,7 +23,6 @@ urlpatterns = [
path('', include('blog.urls', namespace='blog')),
path('users/', include('users.urls', namespace='users')),
path('blog-admin/', include('blog_admin.urls', namespace='blog-admin')),
- path('', include(('userpages.urls', 'userpages'), namespace='userpages')),
path('source/', include(('dev_status.urls', 'dev_status'), namespace='dev_status')),
]