X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891b9e3b7ecaedc9ac32bc941400a267c77482a0..f2c1566914d2ee615546134b9e080fc32c1a1094:/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)