diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-06-09 17:24:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2020-06-09 17:24:59 +0000 |
commit | f96012fae9a106228ad80671a8c66476834a50db (patch) | |
tree | 530cb98a14268da5710b21b070b21e1428b8a5e9 /src/booking/forms.py | |
parent | 945bfa360ed4c30f8a9b684dd49441afeeb4c9c1 (diff) | |
parent | 1fec02fd0a4d7af8a89beb91d8d751a23e5086e0 (diff) |
Merge "Allow not setting image for multi-node pods"
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( |