mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-30 02:28:57 +03:00
Set LOCALIZED_FIELDS_EXPERIMENTAL to True by default
This commit is contained in:
@@ -69,7 +69,7 @@ class LocalizedField(HStoreField):
|
||||
"""
|
||||
|
||||
if not value:
|
||||
if getattr(settings, "LOCALIZED_FIELDS_EXPERIMENTAL", False):
|
||||
if getattr(settings, "LOCALIZED_FIELDS_EXPERIMENTAL", True):
|
||||
return None
|
||||
else:
|
||||
return cls.attr_class()
|
||||
|
||||
Reference in New Issue
Block a user