Christopher Neugebauer
|
1c6dc12781
|
Replaces user_can_add_within_limit with user_quantity_remaining
|
2016-04-02 18:17:18 +11:00 |
|
Christopher Neugebauer
|
576dddcaad
|
Adds user_quantity_remaining to CategoryController
|
2016-04-02 18:17:18 +11:00 |
|
Christopher Neugebauer
|
8f233c7943
|
available_products now refers to the user’s product limits as well as enabling conditions
|
2016-04-02 13:14:34 +11:00 |
|
Christopher Neugebauer
|
bdd3714f47
|
flake8 style issue
|
2016-04-02 11:34:19 +11:00 |
|
Christopher Neugebauer
|
69a65ac3ed
|
Fixes tests on Django 1.9
|
2016-04-02 11:02:01 +11:00 |
|
Christopher Neugebauer
|
0d458bea06
|
Allows Product.limit_per_user to be blank and null. Adds Category.limit_per_user. Adds functionality and tests to verify that this is legal.
|
2016-03-27 13:12:33 +11:00 |
|
Christopher Neugebauer
|
834233cd72
|
Factors ProductsForm handling into its own function
|
2016-03-27 11:30:11 +11:00 |
|
Christopher Neugebauer
|
45aa83f854
|
Adds available_products as a method on ProductController
|
2016-03-26 13:37:13 +11:00 |
|
Christopher Neugebauer
|
c41a9cadff
|
recalculate_discounts now uses the available_discounts function from controllers.discount.
|
2016-03-26 13:33:23 +11:00 |
|
Christopher Neugebauer
|
224878a10c
|
Fixes flake8 errors
|
2016-01-22 17:21:29 +11:00 |
|
Christopher Neugebauer
|
c2400c4695
|
Moves the controller modules into their own subpackage. There's going to be a lot of stuff in there.
|
2016-01-22 16:29:41 +11:00 |
|