mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
readme tweaks
This commit is contained in:
@@ -8,11 +8,23 @@ Django settings.py
|
||||
------------------
|
||||
|
||||
Sets up a db for every ENV ${NAME}_URL => postgres:// var:
|
||||
DATABASES["DATABASE"]
|
||||
DATABASES["SHARED_DATABASE"]
|
||||
DATABASES["HEROKU_POSTGRESQL_ONYX"]
|
||||
|
||||
DATABASES["DATABASE"]
|
||||
DATABASES["SHARED_DATABASE"]
|
||||
DATABASES["HEROKU_POSTGRESQL_ONYX"]
|
||||
|
||||
Aliases DATABASE_URL to default database:
|
||||
DATABASES["default"] = DATABASES["DATABASE"]
|
||||
|
||||
Injected right after DATABASES = {...}
|
||||
DATABASES["default"] = DATABASES["DATABASE"]
|
||||
|
||||
Injected right after DATABASES = {...}
|
||||
|
||||
Hooks
|
||||
-----
|
||||
|
||||
Uses a Makefile for user-controlled hooks into slug compilation.
|
||||
Target `environment` will be evald in the build script, allowing
|
||||
custom exports. PIP_OPTS is passed to pip if set.
|
||||
|
||||
environment:
|
||||
export PIP_OPTS=--upgrade
|
||||
|
||||
Reference in New Issue
Block a user