-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: cmd-79 rename tacc cms settings #792
refactor: cmd-79 rename tacc cms settings #792
Conversation
PORTAL_
not TACC_
settingsTACC_
→ PORTAL_
…thub.com:TACC/Core-CMS into feat/cmd-79-support-new-core-cms-settings-prefix
v4.8 was released while this was still in progress.
Fix this error ``` django_settings_export.UndefinedSettingError: "settings.FAVICON" is included in settings.SETTINGS_EXPORT but it does not exist. ``` Caused by FAVICON not used by a project, yet Core-CMS was still trying to export it.
Fix this error ``` The `LOGO` setting key is not accessible from templates: add "LOGO" to `settings.SETTINGS_EXPORT` to change that. ``` Caused by LOGO backwards compatibility neglecting SETTINGS_EXPORT.
Aside: I do so which we had called |
I changed Goal is clarity and accuracy. I see the setting is not solely used to describe Core-Portal managing auth. It also describes code that Core-Portal expects but is not necessary for all portals (e.g. TUP, or a future one with a better way to share header) nor related to auth. Perhaps we revisit |
TACC_
→ PORTAL_
> The `LOGO` setting key is not accessible from templates: add "LOGO" to `settings.SETTINGS_EXPORT` to change that. > `{% if settings.LOGO %}`
Maybe this will update site_cms/css/build/site.app.blog.css…
I tested this on every [Camino-deployed] Core-CMS website — — and the only bug was because of upgrading ECEP to v4.9+. Important Merging based on approval of https://github.com/TACC/Core-Portal-Deployments/pull/43. |
Overview
Reword
TACC_
settings asPORTAL_
settings.Because (A) Core-CMS is used by clients, so "TACC_LOGO" is a weird setting (because they have their own logo) and (B) The CMS and Portal are aspects of a website that is called Portal in TACC-speak (and I am done grumbling against it).
Status
Related
Changes
Testing & UI
https://github.com/TACC/Core-Portal-Deployments/pull/43