{ "info": { "author": "Christopher Glass", "author_email": "tribaal@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "==============================\nDjango SHOP simple categories\n==============================\n\nThis companion applicatoin to django SHOP provides an example of how shop implementors could implement a simple\ncategory system.\n\nIt is perfectly usable as a simple category system.\n\nIn basic setup, you can select products on category admin page. If you want to set categories in product admin page,\nsubclass `ProductWithCategoryForm`, set `Meta` option `model` to your product model, and set this form as your product\nform::\n\n from shop_simplecategories.admin import ProductWithCategoryForm\n\n class ProductForm(ProductWithCategoryForm):\n class Meta(object):\n model = Product\n\n class ProductAdmin(admin.ModelAdmin):\n form = ProductForm\n\n\nFor your convenience we have added a templatetag ``show_root_categories`` that \noutputs all root categories for you::\n\n {% load shop_simplecategories_tags %}\n\n