Re: [mezzanine-users] Re: Extra model fields at Mezzanine's derived package ?

2016-11-16 Thread joanbm
Thanks Ryne, for the explanation of MIGRATION_MODULES setting. I've finally dealt with extension migrations and avoided burden of other apps migrations shipping at the same time. For a reference, brief info which seems to work with Django 1.8+ 1. assign extra model fields in package's

Re: [mezzanine-users] Re: Extra model fields at Mezzanine's derived package ?

2016-11-16 Thread Akhlaq Rao
Hi Ryne, that would be a great help! Thanks On Wed, Nov 16, 2016 11:21 AM, Ryne Everett ryneever...@gmail.com wrote: I'm aware of this option, but it is a dictionary with application name > as a key, right ? How can I tell Django to look for /cartridge.shop/ > migrations both at

Re: [mezzanine-users] Re: Extra model fields at Mezzanine's derived package ?

2016-11-16 Thread Ryne Everett
I'm aware of this option, but it is a dictionary with application name as a key, right ? How can I tell Django to look for /cartridge.shop/ migrations both at original path and my extension package ? In this case the application name is just /shop/. After setting up MIGRATION_MODULES, your

Re: [mezzanine-users] Re: Extra model fields at Mezzanine's derived package ?

2016-11-15 Thread joanbm
> Without knowing exactly which models you're modifying, I would recommend > to avoid field injection in reusable apps. If you're injecting stuff on > Page, it might be better to create a custom Page type and distribute > that with your package. See: > I extend models which are not designed

Re: [mezzanine-users] Re: Extra model fields at Mezzanine's derived package ?

2016-11-11 Thread Eduardo Rivas
Without knowing exactly which models you're modifying, I would recommend to avoid field injection in reusable apps. If you're injecting stuff on Page, it might be better to create a custom Page type and distribute that with your package. See:

[mezzanine-users] Re: Extra model fields at Mezzanine's derived package ?

2016-11-11 Thread joanbm
Fixed *class_prepared* signal call (due to weak reference to handler) but issue with migrations remains. -- 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