Maik Hoepfel
8f9d5db31f
Move django-oscar-testsupport into oscar.test
This allows updating code in both places, if necessary. Getting Django
1.5 support would be painful otherwise. This also removes the circular
dependency of django-oscar-testsupport on Oscar.
The requirements were merged. The imports were updated
accordingly. Unused imports in the touched files were removed. No
further changes.
12 vuotta sitten
David Winterbottom
7a49678fd3
Add support for showing a custom message on basket page
13 vuotta sitten
David Winterbottom
f9c6c052a2
Rework offer benefits to return result object
This paves the way for custom benefits to return successful applications
that don't lead to a discount.
13 vuotta sitten
David Winterbottom
e5d78436e2
Split offer tests into unit/integration folders
This might be futile.
13 vuotta sitten
David Winterbottom
1c532f4911
Add support for custom conditions
* Includes a migration for the proxy_class field
* Dashboard templates needed adjusting
Fixes #386
13 vuotta sitten
David Winterbottom
cdbfb49780
s/max_applications/max_basket_applications in offer model
Renaming column for clarity now that we have alternative fields for
tracking consumption counts
13 vuotta sitten
David Winterbottom
0dc6816a93
Extract functionality from oscar.test into separate package
Fixes #376
13 vuotta sitten
David Winterbottom
e030689ec2
Offers can now have their max applications controlled
Added new field to offer that allows their max num applications to be
controlled. Dashboard adjusted to support this too.
13 vuotta sitten