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