Remove misleading comment

ImproperlyConfigured exception won't raise because default value is passed.
This commit is contained in:
Bartłomiej Kurzeja 2016-09-12 15:33:00 +02:00
parent 7d7b044432
commit fef3094912

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