mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
25 lines
612 B
Python
25 lines
612 B
Python
import os
|
|
|
|
INSTALLED_APPS = (
|
|
'model_utils',
|
|
'tests',
|
|
)
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
|
"NAME": os.environ.get("DB_NAME", "modelutils"),
|
|
"USER": os.environ.get("DB_USER", 'postgres'),
|
|
"PASSWORD": os.environ.get("DB_PASSWORD", ""),
|
|
"HOST": os.environ.get("DB_HOST", "localhost"),
|
|
"PORT": os.environ.get("DB_PORT", 5432)
|
|
},
|
|
}
|
|
SECRET_KEY = 'dummy'
|
|
|
|
CACHES = {
|
|
'default': {
|
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
|
}
|
|
}
|
|
|
|
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|