mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-09 13:14:43 +00:00
Remove misleading comment (#787)
ImproperlyConfigured exception won't raise because default value is passed.
This commit is contained in:
parent
7d7b044432
commit
d53afa6c96
1 changed files with 0 additions and 1 deletions
|
|
@ -99,7 +99,6 @@ MANAGERS = ADMINS
|
|||
# ------------------------------------------------------------------------------
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#databases
|
||||
DATABASES = {
|
||||
# Raises ImproperlyConfigured exception if DATABASE_URL not in os.environ
|
||||
'default': env.db('DATABASE_URL', default='postgres://{% if cookiecutter.windows == 'y' %}localhost{% endif %}/{{cookiecutter.project_slug}}'),
|
||||
}
|
||||
DATABASES['default']['ATOMIC_REQUESTS'] = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue