diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-08-23 08:47:16 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-08-23 08:47:16 +0800 |
commit | aec7cf5771cd3244e024aada3b51a3d58b1af2f0 (patch) | |
tree | 52c7f739fbc301112166a793d7f34a82e3eec617 /apps/patchwork/forms.py | |
parent | 2a42c781d8556dffc41b311839c451b2dff87025 (diff) | |
download | patchwork-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.py | 2 |
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 |