adamdoty / homebaker

A baked-goods, birthday-treat, tracking app I made for my wife.
3 stars 0 forks source link

[baker] show less options in coupon dropdown fields #49

Open bbelderbos opened 2 years ago

bbelderbos commented 2 years ago

forms.py queryset override:

-- need to find resource ...

bbelderbos commented 2 years ago

@adamdoty here you go ...

You can override the queryset on a field, example: https://stackoverflow.com/a/27914030

adamdoty commented 2 years ago

took a little tweaking from the post, but got it