Skip to content

Commit c1659f2

Browse files
committed
chore: remove SITE_ID middleware
I do not think it is a useful solution for TUP-706. The code/feature is archived in #873: #873
1 parent 22c6ac3 commit c1659f2

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
CUSTOM_APPS = ['apps.custom_example', 'apps.djangocms_blog_customizations']
2-
CUSTOM_MIDDLEWARE = ['taccsite_cms.middleware.settings.DynamicSiteIdMiddleware']
2+
CUSTOM_MIDDLEWARE = []
33
STATICFILES_DIRS = ()

taccsite_cms/middleware/settings.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

taccsite_cms/settings_local.example.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,3 @@
2222
# To disable the Core-Portal integration
2323
PORTAL_IS_TACC_CORE_PORTAL = False
2424
PORTAL_HAS_LOGIN = False
25-
26-
# To allow login in unique situations
27-
# FAQ: If `BLOG_MULTISITE = True`, set `SESSION_COOKIE_SECURE=False` to be able to log in to CMS Admin at different domain (e.g. 0.0.0.0)
28-
SESSION_COOKIE_SECURE = False

0 commit comments

Comments
 (0)