mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-12-14 07:42:24 +03:00
Added initial implementation + tests
This commit is contained in:
25
settings.py
Normal file
25
settings.py
Normal file
@@ -0,0 +1,25 @@
|
||||
DEBUG = True
|
||||
TEMPLATE_DEBUG = True
|
||||
|
||||
SECRET_KEY = 'this is my secret key'
|
||||
|
||||
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': 'localized_fields',
|
||||
'HOST': 'localhost'
|
||||
}
|
||||
}
|
||||
|
||||
LANGUAGE_CODE = 'en'
|
||||
LANGUAGES = (
|
||||
('en', 'English'),
|
||||
('ro', 'Romanian'),
|
||||
('nl', 'Dutch')
|
||||
)
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'localized_fields'
|
||||
]
|
||||
Reference in New Issue
Block a user