pep8 and postgres backend
This commit is contained in:
@@ -118,6 +118,9 @@ else:
|
||||
]
|
||||
|
||||
# Database
|
||||
if PROMETHEUS_ENABLE:
|
||||
configuration.DATABASE.update({'ENGINE': 'django_prometheus.db.backends.postgresql'})
|
||||
else:
|
||||
configuration.DATABASE.update({'ENGINE': 'django.db.backends.postgresql'})
|
||||
DATABASES = {
|
||||
'default': configuration.DATABASE,
|
||||
|
Reference in New Issue
Block a user