From 50caabdd2ede840e4ad3113043d8146c783e7043 Mon Sep 17 00:00:00 2001 From: ad-m Date: Wed, 29 Oct 2014 00:27:10 +0100 Subject: [PATCH] Fix #156 issue --- model_utils/fields.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model_utils/fields.py b/model_utils/fields.py index 10a6290..99e1b6f 100644 --- a/model_utils/fields.py +++ b/model_utils/fields.py @@ -229,6 +229,10 @@ class SplitField(models.TextField): except AttributeError: return value + def deconstruct(self): + name, path, args, kwargs = super(SplitField, self).deconstruct() + kwargs['no_excerpt_field'] = self.add_excerpt_field + return name, path, args, kwargs # allow South to handle these fields smoothly try: