Move database settings to separate file
Issue #65 resolved
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.
Going with Rob Golding's method
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
→ <<cset 10371718722c>>
Added notice regarding database settings being moved to local_settings.py. Moved STATIC_ROOT and MEDIA_ROOT into local_settings with appropriate notices. Refs
→ <<cset 705dca295cf9>>
Added some provisional documentation regarding the new settings file situation. Refs
→ <<cset 90cadc975ea1>>
Created a local_settings.py file for the database settings and local file paths. Also moves the SECRET_KEY. Closes
#65and refs #72.
→ <<cset 01b2e7cbbbc5>>