Skip to content

Commit

Permalink
Add TIME_ZONE to the Heroku deploy config options.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubz committed Nov 30, 2017
1 parent 1798a49 commit 78b61f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,9 @@ be deployed and run.

See also [Django's documentation on the SECRET_KEY setting](https://docs.djangoproject.com/en/1.11/ref/settings/#secret-key).


### `TIME_ZONE`

Default: Etc/UTC
*Default: Etc/UTC*

The time zone to use for the instance. See [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
for all possible values.
Expand Down
8 changes: 6 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@
],
"env": {
"DJANGO_SETTINGS_MODULE": {
"description": "We have a prebuilt config for Heroku",
"description": "A prebuilt configuration for Heroku.",
"value": "babybuddy.settings.heroku"
},
"SECRET_KEY": {
"description": "Used for the Django auth system",
"description": "Used for the auth system.",
"generator": "secret"
},
"TIME_ZONE": {
"description": "Sets the instance time zone.",
"value": "Etc/UTC"
}
},
"scripts": {
Expand Down

0 comments on commit 78b61f7

Please sign in to comment.