mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-24 11:22:54 +03:00
13 lines
273 B
Python
13 lines
273 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
|