Closed Uznick closed 11 years ago
Am I right, that PLATA_SHOP_PRODUCT should direct to the Product model in my models.py?
How can I fix this error?
Try adding PLATA_SHOP_PRODUCT = 'shop.Product'
to your settings.py
. Does that fix this issue? (PLATA_SHOP_PRODUCT
uses Django's 'app_label.model_name' notation, not the python module path.)
Yes, that works, thanks.
Hi.
I add to settings.py according to the instructions: http://www.feinheit.ch/media/labs/plata/installation.html
And then I create the models in vinny.apps.shop.models.py:
When I run ./manage.py syncdb, I get an error: Error: One or more models did not validate: shop.orderitem: 'product' has a relation with model vinny.apps.shop.Product, which has either not been installed or is abstract.