From 608028aba8c3a416d9a49c72ced63aba0ce31bea Mon Sep 17 00:00:00 2001 From: Sergey Zherevchuk Date: Thu, 18 Jun 2015 11:11:28 +0300 Subject: [PATCH] Fix #169 issue Hardcoding no_excerpt_field field in deconstruct() method of SplitField class --- model_utils/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_utils/fields.py b/model_utils/fields.py index 99e1b6f..74c44b2 100644 --- a/model_utils/fields.py +++ b/model_utils/fields.py @@ -231,7 +231,7 @@ class SplitField(models.TextField): def deconstruct(self): name, path, args, kwargs = super(SplitField, self).deconstruct() - kwargs['no_excerpt_field'] = self.add_excerpt_field + kwargs['no_excerpt_field'] = True return name, path, args, kwargs # allow South to handle these fields smoothly