Skip to content

Split settings into general app settings and instance specific productions settings

Tom Kunze requested to merge tomabrafix/kaffeekasse:split-settings into master

Instance specific settings (e.g. database configuration, mail settings, ...) should be configured in a separate kaffeekasse/settings_production.py file which will not be committed. kaffeekasse/settings.py should only contain the app specific settings which will mostly be the same for each instance.

This merge request also contains some settings related changes from fsi-inf instance:

  • Configurable from and subject in mails
  • Add exemplary options for cache busting
  • Fix missing DEFAULT_AUTO_FIELD
  • Fix wrong redirections in admin interface

Attention: Instances which use the old unsplitted settings may need some adjustments (configure web server to use settings_production.py and copy local changes in settings.py to settings_production.py)

Merge request reports