From df627178066e919618c1f6f309b78c5514de8a6b Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Fri, 28 Feb 2020 22:21:03 +0100 Subject: [PATCH] removed non internal recipes from shopping --- cookbook/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/forms.py b/cookbook/forms.py index ddcde2cc0..126348c7a 100644 --- a/cookbook/forms.py +++ b/cookbook/forms.py @@ -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(