mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-03-17 05:50:23 +00:00
46 lines
787 B
Python
46 lines
787 B
Python
import os.path
|
|
|
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
DEBUG = True
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'NAME': ':memory:',
|
|
}
|
|
}
|
|
|
|
INSTALLED_APPS = (
|
|
'django.contrib.auth',
|
|
'django.contrib.contenttypes',
|
|
'django.contrib.sessions',
|
|
'django.contrib.staticfiles',
|
|
|
|
'django_select2',
|
|
'tests.testapp',
|
|
)
|
|
|
|
STATIC_URL = '/static/'
|
|
|
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
|
|
|
SITE_ID = 1
|
|
ROOT_URLCONF = 'tests.testapp.urls'
|
|
|
|
LANGUAGES = [
|
|
('de', 'German'),
|
|
('en', 'English'),
|
|
]
|
|
|
|
TEMPLATES = [
|
|
{
|
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
|
'APP_DIRS': True,
|
|
'DIRS': ['templates'],
|
|
},
|
|
]
|
|
|
|
SECRET_KEY = '123456'
|
|
|
|
USE_L10N = True
|
|
USE_I18N = True
|