[No ] My branch is up-to-date with the upstream develop branch.
[Yes ] I have added necessary documentation (if appropriate).
Which issue does this PR fix?: fixes #
Brief description of what this PR does.
164. Separate settings for dev, predev and production. Also removes 'SECRET_KEY' value from the settings file.
Why do we need this PR?:
To address issue #164.
If relevant, please include a screenshot.
Demo (optional):
Some tips for you to write the instructions:
Create an environment variable 'SECRET_KEY' on your PC (follow instructions for your OS). This should be assigned the secret key contained in travis.yml.
Testing instructions:
Run python manage.py runserver. If your environment variable is set correctly, website will launch properly. If not, you will get 'ImproperlyConfigured("The SECRET_KEY setting must not be empty.")' error message.
If there is any work still left to do, please add it here.
TODOs (if any):
A picture of a cute animal (not mandatory but encouraged):
Checklist
develop
branch.Which issue does this PR fix?: fixes #
Brief description of what this PR does.
164. Separate settings for dev, predev and production. Also removes 'SECRET_KEY' value from the settings file.
Why do we need this PR?: To address issue #164. If relevant, please include a screenshot.
Demo (optional):
Some tips for you to write the instructions:
Testing instructions:
python manage.py runserver
. If your environment variable is set correctly, website will launch properly. If not, you will get 'ImproperlyConfigured("The SECRET_KEY setting must not be empty.")' error message.If there is any work still left to do, please add it here.
TODOs (if any):
A picture of a cute animal (not mandatory but encouraged):![rabbit-2415967_960_720](https://user-images.githubusercontent.com/13593285/34059816-6df0bb7c-e1e9-11e7-8d81-009c3b362641.jpg)