Hello,

I've built Mezzanine/Cartridge based project with lot of generic code 
suited for other similar projects.
I'd like to separate it in a standalone package - extension and use it as 
other 3rd party Django apps.

There is however a problem. It extends Mezzanine and Cartridge models with 
additional fields by `EXTRA_MODEL_FIELDS` mechanism, but it works AFAIK for 
target project only, in its settings.
I'm looking for some advice how build such extension, without retire to 
subclassing, thus introducing original n+1 query problem.

Played with manual call to `contribute_to_class` new field's method through 
`class_prepared` signal in package's init file, but registered function is 
never called. Also have no idea how write migrations, because Django/South 
couldn't generate them.



-- 
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.

Reply via email to