From f2636b75b63427e0db3945803c492457ea2c9db2 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Fri, 10 Oct 2008 19:27:24 +1100 Subject: [PATCH] [packages] Fix bug with django 1.0 We needed an extra to_field_name Signed-off-by: Jeremy Kerr --- apps/patchwork/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/patchwork/forms.py b/apps/patchwork/forms.py index 10c93a4..f78a105 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 -- 2.39.2