mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-12-14 07:42:24 +03:00
Added a proper deconstruct method to LocalizedValue
This commit is contained in:
@@ -36,7 +36,6 @@ class LocalizedFieldWidget(MultiWidget):
|
||||
result = []
|
||||
|
||||
for lang_code, _ in settings.LANGUAGES:
|
||||
result.append(value.get(lang_code))
|
||||
if value:
|
||||
result.append(value.get(lang_code))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user