From: Jeremy Kerr Date: Fri, 10 Oct 2008 08:27:24 +0000 (+1100) Subject: [packages] Fix bug with django 1.0 X-Git-Tag: v0.9.0~271 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2636b75b63427e0db3945803c492457ea2c9db2;p=thirdparty%2Fpatchwork.git [packages] Fix bug with django 1.0 We needed an extra to_field_name Signed-off-by: Jeremy Kerr --- diff --git a/apps/patchwork/forms.py b/apps/patchwork/forms.py index 10c93a42..f78a105f 100644 --- a/apps/patchwork/forms.py +++ b/apps/patchwork/forms.py @@ -114,6 +114,7 @@ class UserProfileForm(forms.ModelForm): class OptionalDelegateField(DelegateField): no_change_choice = ('*', 'no change') + to_field_name = None def __init__(self, no_change_choice = None, *args, **kwargs): self.filter = None