Cartridge is missing a migration. Commit stephenmcd/mezzanine@bf872c358ec6d899a1a444f351b766c1e816fc63 changes the Slugged model slug field to non-nullable and adds the appropriate migrations for Mezzanine. However, the Cartridge Product model also includes this field by inheritance via cartridge.shop.BaseProduct, mezzanine.core.Displayable, and mezzanine.core.Slugged. Therefore Cartridge needs a corresponding migration.
For example:
$ pip3 install -U git+https://github.com/stephenmcd/mezzanine.git#egg=Mezzanine
$ pip3 install -U git+https://github.com/stephenmcd/cartridge.git#egg=Cartridge
$ pip3 install Django==1.11.18
$ mezzanine-project -a cartridge testcartridge
$ cd testcartridge
$ python3 manage.py makemigrations
[...]
You are trying to change the nullable field 'slug' on product to
non-nullable without a default...
Cartridge is missing a migration. Commit stephenmcd/mezzanine@bf872c358ec6d899a1a444f351b766c1e816fc63 changes the
Slugged
modelslug
field to non-nullable and adds the appropriate migrations for Mezzanine. However, the CartridgeProduct
model also includes this field by inheritance viacartridge.shop.BaseProduct
,mezzanine.core.Displayable
, andmezzanine.core.Slugged
. Therefore Cartridge needs a corresponding migration.For example: