matthiask / plata

Plata - the lean and mean Django-based Shop
https://plata-django-shop.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
197 stars 63 forks source link

view product in admin #4

Closed scristian71 closed 13 years ago

scristian71 commented 13 years ago

after I add a product in admin view and I try to view it I get the error: 'ProductAdmin' object has no attribute 'show_on_top'

Thanks,

Cristian

matthiask commented 13 years ago

Plata requires a recent version of Django (1.2) and a development version of FeinCMS. 1.1.4 is not supported unfortunately.

However you are not forced to use FeinCMS with Plata though; I recommend it of course for editing the product description, but it's not necessary or required in any way.

scristian71 commented 13 years ago

Thanks for the answer. I have Django 1.2.1 and feinCMS 1.1.4.

To view the product I have to add member ---show_on_top = ('name','description')--- to ProductAdmin class and remove lines where ---items_in_stock--- appear. (there was an error in rendering the template. Product view from admin is working fein now.

Thanks,

Cristian

matthiask commented 13 years ago

FeinCMS 1.2 is the minimum requirement for the plata / feincms integration.

Thanks for the report. I've added a note to the docstring.