diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-06-03 13:05:29 -0400 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-06-04 15:49:23 -0400 |
commit | 1fec02fd0a4d7af8a89beb91d8d751a23e5086e0 (patch) | |
tree | 628204d724fad0eeb7711029a329ca30fd5dedfd /src/booking/forms.py | |
parent | 530271c247a4ce538e3aa69fd3893481fada44ab (diff) |
Allow not setting image for multi-node pods
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: Ieee0802291901b4b14d756781fb2182bff9afae6
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/booking/forms.py')
-rw-r--r-- | src/booking/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
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( |