mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
Fix #169 issue
Hardcoding no_excerpt_field field in deconstruct() method of SplitField class
This commit is contained in:
parent
d797996d13
commit
608028aba8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue