network_inventory/network_inventory/settings/local.py

28 lines
496 B
Python
Raw Normal View History

2019-07-13 12:37:58 +02:00
from .base import *
ALLOWED_HOSTS = [
'localhost',
'127.0.0.1',
]
CSRF_TRUSTED_ORIGINS = [
'http://localhost:8000',
]
2019-07-13 12:37:58 +02:00
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "foo"
2019-07-13 12:37:58 +02:00
DEBUG = True
CRISPY_FAIL_SILENTLY = not DEBUG
2019-07-13 12:37:58 +02:00
DATABASES = {
2020-08-03 13:41:49 +02:00
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'HOST': 'localhost',
'PORT': 5432,
'PASSWORD': 'password',
2020-08-03 13:41:49 +02:00
}
2019-07-13 12:37:58 +02:00
}