A simple categories system add-on for django SHOP
Python
Switch branches/tags
Pull request Compare This branch is 8 commits ahead, 28 commits behind chrisglass:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
shop_simplecategories
.gitignore
LICENSE.rst
MANIFEST.in
README.rst
setup.py

README.rst

Django SHOP simple categories

This companion applicatoin to django SHOP provides an example of how shop implementors could implement a simple category system.

It is perfectly usable as a simple category system.

In basic setup, you can select products on category admin page. If you want to set categories in product admin page, subclass ProductWithCategoryForm, set Meta option model to your product model, and set this form as your product form:

from shop_simplecategories.admin import ProductWithCategoryForm

class ProductForm(ProductWithCategoryForm):
    class Meta(object):
        model = Product

class ProductAdmin(admin.ModelAdmin):
    form = ProductForm