X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=apps%2Fpatchwork%2Fforms.py;h=18c6a5ef0aa30c0f5d9ba204370f4b410a8eb776;hp=7adc8c062b0a1fd92aa7941d09aaece31c36a303;hb=aec7cf5771cd3244e024aada3b51a3d58b1af2f0;hpb=2a42c781d8556dffc41b311839c451b2dff87025 diff --git a/apps/patchwork/forms.py b/apps/patchwork/forms.py index 7adc8c0..18c6a5e 100644 --- a/apps/patchwork/forms.py +++ b/apps/patchwork/forms.py @@ -91,7 +91,7 @@ class PatchForm(forms.ModelForm): if not project: raise Exception("meep") super(PatchForm, self).__init__(instance = instance, *args, **kwargs) - self.fields['delegate'] = DelegateField(project) + self.fields['delegate'] = DelegateField(project, required = False) class Meta: model = Patch