|
@ -5,8 +5,7 @@ BASE_DIR = dirname(dirname(dirname(__file__))) |
|
|
DATABASES = { |
|
|
DATABASES = { |
|
|
'default': { |
|
|
'default': { |
|
|
'ENGINE': 'django.db.backends.sqlite3', |
|
|
'ENGINE': 'django.db.backends.sqlite3', |
|
|
# 'NAME': ':memory:', |
|
|
'NAME': ':memory:', |
|
|
'NAME': '/tmp/db', |
|
|
|
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -15,11 +14,11 @@ INSTALLED_APPS = ( |
|
|
'django.contrib.auth', |
|
|
'django.contrib.auth', |
|
|
'django.contrib.messages', |
|
|
'django.contrib.messages', |
|
|
'django.contrib.sessions', |
|
|
'django.contrib.sessions', |
|
|
'crud.tests', |
|
|
'crud.tests.stub_app', |
|
|
'crispy_forms', |
|
|
'crispy_forms', |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
ROOT_URLCONF = 'crud.tests.urls' |
|
|
ROOT_URLCONF = 'crud.tests.stub_app.urls' |
|
|
|
|
|
|
|
|
USE_TZ = True |
|
|
USE_TZ = True |
|
|
|
|
|
|
|
@ -27,7 +26,7 @@ SECRET_KEY = 'zzz...' |
|
|
|
|
|
|
|
|
TEMPLATES = [{ |
|
|
TEMPLATES = [{ |
|
|
'BACKEND': 'django.template.backends.django.DjangoTemplates', |
|
|
'BACKEND': 'django.template.backends.django.DjangoTemplates', |
|
|
'DIRS': [join(BASE_DIR, 'crud/tests/templates'), |
|
|
'DIRS': [join(BASE_DIR, 'crud/tests/stub_app/templates'), |
|
|
join(BASE_DIR, 'templates')], |
|
|
join(BASE_DIR, 'templates')], |
|
|
'APP_DIRS': True, |
|
|
'APP_DIRS': True, |
|
|
'OPTIONS': { |
|
|
'OPTIONS': { |
|
|