removed non internal recipes from shopping

This commit is contained in:
vabene1111
2020-02-28 22:21:03 +01:00
parent a1e6bd5441
commit df62717806

View File

@ -75,7 +75,7 @@ class InternalRecipeForm(forms.ModelForm):
class ShoppingForm(forms.Form):
recipe = forms.ModelMultipleChoiceField(
queryset=Recipe.objects.all(),
queryset=Recipe.objects.filter(internal=True).all(),
widget=MultiSelectWidget
)
markdown_format = forms.BooleanField(