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