Commit 64ae2f21 authored by Noah Zoschke's avatar Noah Zoschke

readme polish

parent c99a2856
...@@ -28,11 +28,11 @@ Django settings.py ...@@ -28,11 +28,11 @@ Django settings.py
------------------ ------------------
The PLP injects code into `settings.py` to alias every Heroku database URL The PLP injects code into `settings.py` to alias every Heroku database URL
config var. Every variable of the format `${NAME}_URL => postgres://` will be config var. Every variable of the format `${NAME}_URL => postgres://` will be
added to the settings.DATABASES hash. added to the `settings.DATABASES` hash.
On an app with both a shared SHARED_DATABASE_URL and a dedicated On an app with both a shared SHARED_DATABASE_URL and a dedicated
HEROKU_POSTGRESQL_RED_URL that is promoted to DATABASE_URL, settings will look HEROKU_POSTGRESQL_RED_URL that is promoted to DATABASE_URL, `settings.DATABASES`
like: will be:
{ {
'DATABASE': {'ENGINE': 'psycopg2', 'NAME': 'dedicated', ...}, 'DATABASE': {'ENGINE': 'psycopg2', 'NAME': 'dedicated', ...},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment