Commit aec7cf57 authored by Jeremy Kerr's avatar Jeremy Kerr
Browse files

Patchform.delegate isn't required


Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent 2a42c781
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment