Hi,
after an upgrade to Cartridge 0.11.0, Mezzanine 4.1.0 and Django 1.8.8 to
an existing project, migrations have stopped working.
I'm getting following(like) errors about duplicate columns:
*Applying shop.0001_initial... OKApplying
shop.0002_auto_20141227_1331...Traceback (most recent call last):*
*…django.db.utils.OperationalError: duplicate column name: vat_id*
I've simplified the issue as far as possible to:
in project's settings.py
*EXTRA_MODEL_FIELDS = ( (
'cartridge.shop.models.ProductVariation.vat', 'ForeignKey',
('eshop.VAT',), {'null': True}, ),)*
in eshop app's models.py
*class VAT(models.Model): description = models.CharField(
_('Description'), blank=False, null=True, unique=True,
max_length=36) rate = models.DecimalField( _('Rate'),
blank=False, null=False, decimal_places=3, max_digits=3+6)*
Both cartridge.shop and eshop migrations were generated anew with manage.py
makemigrations.
Is this a known issue ?
With Django 1.6 it does work without problems, however this version is no
longer supported since 04/2015 :(
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.