1. Matt Austin
  2. django-model-utils

Commits

Carl Meyer  committed fe1ee72

Removed unneeded creation_counter increment.

  • Participants
  • Parent commits f8bc733
  • Branches default

Comments (0)

Files changed (1)

File model_utils/fields.py

View file
     def contribute_to_class(self, cls, name):
         if self.add_excerpt_field:
             excerpt_field = models.TextField(editable=False)
-            excerpt_field.creation_counter = self.creation_counter+1
             cls.add_to_class(_excerpt_field_name(name), excerpt_field)
         super(SplitField, self).contribute_to_class(cls, name)
         setattr(cls, self.name, SplitDescriptor(self))