summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/forms.py
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-08-23 08:47:16 +0800
committerJeremy Kerr <jk@ozlabs.org>2008-08-23 08:47:16 +0800
commitaec7cf5771cd3244e024aada3b51a3d58b1af2f0 (patch)
tree52c7f739fbc301112166a793d7f34a82e3eec617 /apps/patchwork/forms.py
parent2a42c781d8556dffc41b311839c451b2dff87025 (diff)
downloadpatchwork-aec7cf5771cd3244e024aada3b51a3d58b1af2f0.tar.bz2
patchwork-aec7cf5771cd3244e024aada3b51a3d58b1af2f0.tar.xz
Patchform.delegate isn't required
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/forms.py')
-rw-r--r--apps/patchwork/forms.py2
1 files changed, 1 insertions, 1 deletions
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