3 ms·
I like how Heroku does it, it's very smart, they basically inject the database settings to your settings.py that code just grabs the connection settings from th
by igorgue 15y ago
I like how Heroku does it, it's very smart, they basically inject the database settings to your settings.py that code just grabs the connection settings from the environment so you don't need to worry about it.
More info: http://devcenter.heroku.com/articles/django http://devcenter.heroku.com/articles/django