Commits

Carl Meyer committed 56c6e56

Removed unnecessary creation_counter incrementing in MarkupField. Thanks Denis Kolodin.

  • Participants
  • Parent commits e9e3ed6

Comments (0)

Files changed (1)

markitup/fields.py

     def contribute_to_class(self, cls, name):
         if self.add_rendered_field and not cls._meta.abstract:
             rendered_field = models.TextField(editable=False, blank=True)
-            rendered_field.creation_counter = self.creation_counter+1
             cls.add_to_class(_rendered_field_name(name), rendered_field)
         super(MarkupField, self).contribute_to_class(cls, name)
         setattr(cls, self.name, MarkupDescriptor(self))