mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-12-14 07:42:24 +03:00
Set LOCALIZED_FIELDS_EXPERIMENTAL to True by default
This commit is contained in:
@@ -12,7 +12,7 @@ class LocalizedFieldsConfig(AppConfig):
|
||||
name = "localized_fields"
|
||||
|
||||
def ready(self):
|
||||
if getattr(settings, "LOCALIZED_FIELDS_EXPERIMENTAL", False):
|
||||
if getattr(settings, "LOCALIZED_FIELDS_EXPERIMENTAL", True):
|
||||
for _, clazz in inspect.getmembers(lookups):
|
||||
if not inspect.isclass(clazz) or clazz is LocalizedLookupMixin:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user