Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for callables on cart product lookup setting #15

Open
lazybird opened this issue Jun 19, 2014 · 0 comments
Open

Support for callables on cart product lookup setting #15

lazybird opened this issue Jun 19, 2014 · 0 comments

Comments

@lazybird
Copy link
Owner

The default queryset manager is used and all products are retrieved. You can filter products by defining some lookup parameters in CART_PRODUCT_LOOKUP setting.

The CART_PRODUCT_LOOKUP should support passing in callables, making this possible:

CART_PRODUCT_LOOKUP = {
     'status: 'A',
     'date_valid_from__gte': datetime.datetime.now
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant