Skip to content

Commit

Permalink
chore: remove SITE_ID middleware
Browse files Browse the repository at this point in the history
I do not think it is a useful solution for TUP-706.

The code/feature is archived in #873:
#873
  • Loading branch information
wesleyboar committed Sep 13, 2024
1 parent 22c6ac3 commit c1659f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion taccsite_cms/custom_app_settings.example.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CUSTOM_APPS = ['apps.custom_example', 'apps.djangocms_blog_customizations']
CUSTOM_MIDDLEWARE = ['taccsite_cms.middleware.settings.DynamicSiteIdMiddleware']
CUSTOM_MIDDLEWARE = []
STATICFILES_DIRS = ()
20 changes: 0 additions & 20 deletions taccsite_cms/middleware/settings.py

This file was deleted.

4 changes: 0 additions & 4 deletions taccsite_cms/settings_local.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@
# To disable the Core-Portal integration
PORTAL_IS_TACC_CORE_PORTAL = False
PORTAL_HAS_LOGIN = False

# To allow login in unique situations
# 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)
SESSION_COOKIE_SECURE = False

0 comments on commit c1659f2

Please sign in to comment.