mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-09 05:44:42 +00:00
39 lines
809 B
Python
39 lines
809 B
Python
# -*- coding: utf-8 -*-
|
|
import os
|
|
|
|
|
|
DIRNAME = os.path.dirname(__file__)
|
|
|
|
DEBUG = False
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'NAME': os.path.join(DIRNAME, 'test.db')
|
|
}
|
|
}
|
|
|
|
INSTALLED_APPS = (
|
|
'django.contrib.auth',
|
|
'django.contrib.contenttypes',
|
|
'django.contrib.sessions',
|
|
'django.contrib.admin',
|
|
'django.contrib.sites',
|
|
'django.contrib.staticfiles',
|
|
'django.contrib.redirects',
|
|
'modeltranslation',)
|
|
|
|
STATIC_URL = '/static/'
|
|
|
|
ROOT_URLCONF = 'modeltranslation.tests.urls'
|
|
|
|
MEDIA_URL = '/media/'
|
|
MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media/')
|
|
|
|
SITE_ID = 1
|
|
|
|
LANGUAGES = (('de', 'Deutsch'),
|
|
('en', 'English'))
|
|
DEFAULT_LANGUAGE = 'de'
|
|
|
|
MODELTRANSLATION_TRANSLATION_REGISTRY = 'modeltranslation.tests'
|