Skip to content

Commit

Permalink
chore: CMD-165 clean up deprecated settings
Browse files Browse the repository at this point in the history
And prepare to deprecate BRANDING.
  • Loading branch information
wesleyboar committed Jul 5, 2024
1 parent ac737b5 commit deee0e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions taccsite_cms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def gettext(s): return s


########################
# TACC: LOGOS & FAVICON (DEPRECATED)
# TACC: LOGO & FAVICON (DEPRECATED)
########################

# LOGO = [
Expand Down Expand Up @@ -703,14 +703,14 @@ def get_subdirs_as_module_names(path):
# SETTINGS DEPRECATED
########################
# TODO: Make clients not use nor set these
deprecated_SETTINGS_EXPORT = []

# Some clients still use deprecated settings in templates
# E.g. TACC/Core-CMS-Custom, TACC/tup-ui (before TACC/tup-ui#436/)
deprecated_SETTINGS_EXPORT = ['LOGO']
# For header_logo.html
deprecated_SETTINGS_EXPORT += ['LOGO']
if 'LOGO' not in locals():
LOGO = False # header_logo.html reads this setting
LOGO = False

# Some clients still support these settings
# For clients
old_setting_names = [
'FAVICON'
'INCLUDES_CORE_PORTAL',
Expand Down

0 comments on commit deee0e4

Please sign in to comment.