mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-25 03:32:55 +03:00
14 lines
277 B
Python
14 lines
277 B
Python
from django.conf import settings
|
|
|
|
|
|
def get_init_values() -> dict:
|
|
"""Gets a test dictionary containing a key
|
|
for every language."""
|
|
|
|
keys = {}
|
|
|
|
for lang_code, lang_name in settings.LANGUAGES:
|
|
keys[lang_code] = 'value in %s' % lang_name
|
|
|
|
return keys
|