mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-29 18:18:57 +03:00
Fix outstanding PEP8 and Flake8 issues
This commit is contained in:
@@ -207,7 +207,7 @@ class LocalizedField(HStoreField):
|
||||
lang_val = getattr(value, settings.LANGUAGE_CODE)
|
||||
|
||||
if lang_val is None:
|
||||
raise IntegrityError('null value in column "%s.%s" violates' \
|
||||
raise IntegrityError('null value in column "%s.%s" violates '
|
||||
'not-null constraint' % (self.name, lang))
|
||||
|
||||
def formfield(self, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user