X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891b9e3b7ecaedc9ac32bc941400a267c77482a0..80d789aa009be1449b83b04b5838ebcc15368d68:/apps/modeltranslation/fields.py?ds=sidebyside diff --git a/apps/modeltranslation/fields.py b/apps/modeltranslation/fields.py index 5498d6b1d..be942f6a5 100644 --- a/apps/modeltranslation/fields.py +++ b/apps/modeltranslation/fields.py @@ -74,6 +74,10 @@ class TranslationField(Field): field_class = '%s.%s' % (self.translated_field.__class__.__module__, self.translated_field.__class__.__name__) args, kwargs = introspector(self.translated_field) + + # This is patched in init and so should be here! -- lqc + kwargs['blank'], kwargs['null'] = True, True + # That's our definition! return (field_class, args, kwargs)