mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-25 00:37:51 +02:00
28 lines
496 B
Python
28 lines
496 B
Python
from .base import *
|
|
|
|
ALLOWED_HOSTS = [
|
|
"localhost",
|
|
"127.0.0.1",
|
|
]
|
|
|
|
CSRF_TRUSTED_ORIGINS = [
|
|
"http://localhost:8000",
|
|
]
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
SECRET_KEY = "foo"
|
|
|
|
DEBUG = True
|
|
CRISPY_FAIL_SILENTLY = not DEBUG
|
|
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
"NAME": "postgres",
|
|
"USER": "postgres",
|
|
"HOST": "localhost",
|
|
"PORT": 5432,
|
|
"PASSWORD": "password",
|
|
}
|
|
}
|