Move database settings to separate file

Issue #65 resolved
Ed McDonagh created an issue

Database settings are currently in the main settings.py file. This is going to make upgrades that change the settings file difficult, and the next version is almost certainly going to need to made such changes.

Propose a new file with the database details, leaving the settings.py file at the mercy of upgrades.

Comments (6)

  1. Ed McDonagh reporter

    Created local_settings.py file, added try local_settings code to end of settings.py, moved database settings to the local settings file. Tested using manage.py runserver. Refs #65.

    → <<cset 10371718722c>>

  2. Ed McDonagh reporter

    Added notice regarding database settings being moved to local_settings.py. Moved STATIC_ROOT and MEDIA_ROOT into local_settings with appropriate notices. Refs #65.

    → <<cset 705dca295cf9>>

  3. Log in to comment