mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
pep8 and postgres backend
This commit is contained in:
parent
aae36cdce2
commit
850997b09c
@ -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