Closed tomaratyn closed 12 years ago
Yeah, the app_label hackery is quite ugly. Adding plata.product.modules.options
to INSTALLED_APPS
would have worked, but that's ugly too.
The idea was to get rid of all default products, though, not add a default product back. We have shops with complex products (such as the options module, now at https://github.com/matthiask/plata-options-product ) and really simple products where the pricing scheme with validity periods, is_sale
and is_active
flags and the variations were complete overkill.
Because of this Plata v0.9 does not come with a default product anymore.
(Btw, plata-options-product absolutely isn't abandonware -- we'll be using it in the shop we'll develop in the coming weeks)
Thanks, Matthias
Hi,
Thanks for writing Plata!
For my needs right now your plata.product.modules.options.models.Product model seems right. However, getting django to see it is a pain.
What I'm currently doing is creating my own app and importing your models into its
models.py
:from plata.product.modules.options.models import *
).It would be nice if there was a way that didn't feel so kludgy. Do you have any recommendations?
Cheers,
Tom