django-eav2/tests/test_settings.py

25 lines
489 B
Python
Raw Normal View History

2017-09-05 10:01:20 +00:00
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'fake-key'
SITE_ID = 1
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.sites',
2018-07-27 11:47:01 +00:00
'django.contrib.admin',
2017-09-05 10:01:20 +00:00
'django.contrib.contenttypes',
"tests",
"eav"
]
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'TEST_NAME': os.path.join(BASE_DIR, 'test_db.sqlite3'),
2017-09-05 10:01:20 +00:00
}
}