mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-12-14 07:42:24 +03:00
Add experimental features flag for LocalizedField
With the flag set, LocalizedField will return None if there is no database value.
This commit is contained in:
@@ -15,7 +15,7 @@ class LocalizedModel(PostgresModel):
|
||||
|
||||
Here we set all the fields that are of :see:LocalizedField
|
||||
to an instance of :see:LocalizedValue in case they are none
|
||||
so that the user doesn't explicitely have to do so."""
|
||||
so that the user doesn't explicitly have to do so."""
|
||||
|
||||
super(LocalizedModel, self).__init__(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user