mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
pep8 and postgres backend
This commit is contained in:
parent
f0505477b8
commit
c11abbe8ca
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user