Remove misleading comment (#787)

ImproperlyConfigured exception won't raise because default value is passed.
This commit is contained in:
Bartłomiej Kurzeja 2016-09-12 15:52:49 +02:00 committed by Jannis Gebauer
parent 7d7b044432
commit d53afa6c96

View File

@ -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