-
Notifications
You must be signed in to change notification settings - Fork 86
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 ColdFront settings #264
Merged
Merged
Commits on Feb 27, 2021
-
This commit attempts to better organize ColdFront settings and configuration. As the number of plugins grows having a well defined way to configure the ColdFront application will be imperative. The main goals are: 1. Split the config/settings across multiple files for better organization. 2. Allow configuring ColdFront from environment variables or a env file 3. Enable easy way to set custom config values system wide for production installs as well as dev/staging environments In this commit we use django-environ to fetch config settings from the environment. We also use django-split-settings which provides a way to split up django settings across multiple files. The organization is as follows: - coldfront/config/base.py = Base Django config settings - coldfront/config/auth.py = Authenication backends - coldfront/config/database.py = Database backends - coldfront/config/email.py = Email settings - coldfront/config/logging.py = Logging settings - coldfront/config/core.py = Core ColdFront settings - coldfront/config/plugins/* = ColdFront Plugins Sites can override any config settings by creating a local_settings.py file in coldfront/config, or /etc/coldfront/local_settings.py. Additionally, they can override settings using environment variables, or an environment file. ColdFront will search for environment files in this order: .env (in current working directory) or /etc/coldfront/coldfront.env. You can also specify the path to the environment file using COLDFRONT_ENV.
Configuration menu - View commit details
-
Copy full SHA for 7048714 - Browse repository at this point
Copy the full SHA 7048714View commit details
Commits on Feb 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 93d9449 - Browse repository at this point
Copy the full SHA 93d9449View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fe6f53 - Browse repository at this point
Copy the full SHA 9fe6f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 057bfef - Browse repository at this point
Copy the full SHA 057bfefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8849d80 - Browse repository at this point
Copy the full SHA 8849d80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6944ee0 - Browse repository at this point
Copy the full SHA 6944ee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c92a16 - Browse repository at this point
Copy the full SHA 8c92a16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60cef81 - Browse repository at this point
Copy the full SHA 60cef81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1280319 - Browse repository at this point
Copy the full SHA 1280319View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6818cab - Browse repository at this point
Copy the full SHA 6818cabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48f766d - Browse repository at this point
Copy the full SHA 48f766dView commit details
Commits on Mar 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 44156ae - Browse repository at this point
Copy the full SHA 44156aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 266a351 - Browse repository at this point
Copy the full SHA 266a351View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce58ed8 - Browse repository at this point
Copy the full SHA ce58ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 561510a - Browse repository at this point
Copy the full SHA 561510aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f61b993 - Browse repository at this point
Copy the full SHA f61b993View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff0bb95 - Browse repository at this point
Copy the full SHA ff0bb95View commit details -
Configuration menu - View commit details
-
Copy full SHA for f93488c - Browse repository at this point
Copy the full SHA f93488cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e9d971 - Browse repository at this point
Copy the full SHA 5e9d971View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1b4060 - Browse repository at this point
Copy the full SHA d1b4060View commit details -
Configuration menu - View commit details
-
Copy full SHA for 444e304 - Browse repository at this point
Copy the full SHA 444e304View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a55373 - Browse repository at this point
Copy the full SHA 4a55373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08fade0 - Browse repository at this point
Copy the full SHA 08fade0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 388affb - Browse repository at this point
Copy the full SHA 388affbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3213f08 - Browse repository at this point
Copy the full SHA 3213f08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98dd76a - Browse repository at this point
Copy the full SHA 98dd76aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4542cab - Browse repository at this point
Copy the full SHA 4542cabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1228f61 - Browse repository at this point
Copy the full SHA 1228f61View commit details -
Configuration menu - View commit details
-
Copy full SHA for f425a3b - Browse repository at this point
Copy the full SHA f425a3bView commit details
Commits on Mar 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 91758ac - Browse repository at this point
Copy the full SHA 91758acView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3f0381 - Browse repository at this point
Copy the full SHA b3f0381View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb6bfa7 - Browse repository at this point
Copy the full SHA eb6bfa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41cc86d - Browse repository at this point
Copy the full SHA 41cc86dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b841b03 - Browse repository at this point
Copy the full SHA b841b03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f56356 - Browse repository at this point
Copy the full SHA 3f56356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4883533 - Browse repository at this point
Copy the full SHA 4883533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71723ae - Browse repository at this point
Copy the full SHA 71723aeView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.