You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
799 B
Python
29 lines
799 B
Python
from .base import *
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
DEBUG = True
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
SECRET_KEY = "gi5#h%%co$&cnxt36b8g13o2$$=)!3v+v^iyp)7!^qvrhr)w3+"
|
|
|
|
# SECURITY WARNING: define the correct hosts in production!
|
|
ALLOWED_HOSTS = ["*"]
|
|
|
|
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
|
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
"NAME": "datasketch_dev",
|
|
"USER": "datasketch",
|
|
"PASSWORD": os.environ.get("DB_PASSWD") if os.environ.get("DB_PASSWD") else "",
|
|
"HOST": os.environ.get("DB_HOST") if os.environ.get("DB_HOST") else "127.0.0.1",
|
|
"PORT": "5432",
|
|
}
|
|
}
|
|
|
|
try:
|
|
from .local import *
|
|
except ImportError:
|
|
pass
|