mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
* fix model.save patched in FieldTracker * add test for save call with args * update changes
22 lines
592 B
Python
22 lines
592 B
Python
import os
|
|
|
|
INSTALLED_APPS = (
|
|
'model_utils',
|
|
'tests',
|
|
)
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
|
"NAME": os.environ.get("DJANGO_DATABASE_NAME_POSTGRES", "modelutils"),
|
|
"USER": os.environ.get("DJANGO_DATABASE_USER_POSTGRES", 'postgres'),
|
|
"PASSWORD": os.environ.get("DJANGO_DATABASE_PASSWORD_POSTGRES", ""),
|
|
"HOST": os.environ.get("DJANGO_DATABASE_HOST_POSTGRES", ""),
|
|
},
|
|
}
|
|
SECRET_KEY = 'dummy'
|
|
|
|
CACHES = {
|
|
'default': {
|
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
|
}
|
|
}
|