jrief/django-shop — pull request #1 by jrief (2012-02-28 10:10:28+00:00)
Title: A new branch for product variations, with no extra features.

This pull request replaces the previous pull request named "variations".
It is based on the posting in https://groups.google.com/forum/#!topic/django-shop/dgv32D3awpQ

This patch shall not affect current implementations, except those using Cart.add_product() with the merge-flag and queryset. django-shop-simplevariations is such a candidate.

The main difference is, that you pass variations as a free-form dict to Cart.add_product(). The function then decides itself, whether it shall merge or add. This makes programming of product variations and other features such as wishlists and comparison carts much simpler.

Modules using this feature can be found here: https://github.com/jrief/django-shop-productvariations and here: https://github.com/jrief/django-shop-wishlists

Some unit tests were rewritten, and one was added.