From 1fec02fd0a4d7af8a89beb91d8d751a23e5086e0 Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Wed, 3 Jun 2020 13:05:29 -0400 Subject: Allow not setting image for multi-node pods Signed-off-by: Sawyer Bergeron Change-Id: Ieee0802291901b4b14d756781fb2182bff9afae6 Signed-off-by: Sawyer Bergeron --- src/booking/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/booking/forms.py') diff --git a/src/booking/forms.py b/src/booking/forms.py index 886f0f6..2a8784f 100644 --- a/src/booking/forms.py +++ b/src/booking/forms.py @@ -36,7 +36,7 @@ class QuickBookingForm(forms.Form): super(QuickBookingForm, self).__init__(data=data, **kwargs) self.fields["image"] = forms.ModelChoiceField( - Image.objects.filter(public=True) | Image.objects.filter(owner=user) + Image.objects.filter(public=True) | Image.objects.filter(owner=user), required=False ) self.fields['users'] = SearchableSelectMultipleField( -- cgit 1.2.3-korg