PathagarBooks / pathagar

Pathagar is a simple bookserver serving OPDS feeds
GNU General Public License v2.0
101 stars 26 forks source link

Allow Django settings to be overridden by environment variable #101

Open adborden opened 5 years ago

adborden commented 5 years ago

As a django operator, I want to specify configuration through environment variables so that I can easily set configuration for my site without having to manage python code in a local settings.py.

e.g. ALLOWED_HOSTS=0.0.0.0 python manage.py runserver 0.0.0.0:$PORT