Issue #11 resolved

Bug in MarkupField with abstract model class.

Denis Kolodin
created an issue

I have models: {{{

!python

class ParentModel(models.Model): content = MarkupField() class Meta: abstract = True

class ChildModel(ParentModel): pass }}}

When I inherit an abstract model with MarkupField i get an exception like (during syncdb):

{{{ ........ File "w:\development\new.basetrading.ru\parts\django\django\db\backends\sqlite 3\base.py", line 234, in execute return Database.Cursor.execute(self, query, params) django.db.utils.DatabaseError: duplicate column name: _content_rendered }}}

I fix this bug in attached patch. Can you check the patch and add it to the main repository?

Comments (1)

  1. Log in to comment