mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Fix #156 issue
This commit is contained in:
parent
9786672361
commit
50caabdd2e
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue