mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-02 19:20:15 +03:00
adding timezone
This commit is contained in:
parent
457515aada
commit
13572f54c2
|
@ -6,5 +6,6 @@
|
||||||
"description": "A short description of the project.",
|
"description": "A short description of the project.",
|
||||||
"year": "2014",
|
"year": "2014",
|
||||||
"domain_name": "example.com",
|
"domain_name": "example.com",
|
||||||
"version": "0.1.0"
|
"version": "0.1.0",
|
||||||
|
"timezone": "UTC",
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,7 +133,7 @@ class Common(Configuration):
|
||||||
|
|
||||||
########## GENERAL CONFIGURATION
|
########## GENERAL CONFIGURATION
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#time-zone
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#time-zone
|
||||||
TIME_ZONE = 'America/Los_Angeles'
|
TIME_ZONE = '{{cookiecutter.timezone}}'
|
||||||
|
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#language-code
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#language-code
|
||||||
LANGUAGE_CODE = 'en-us'
|
LANGUAGE_CODE = 'en-us'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user