X-Git-Url: http://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=apps%2Fpatchwork%2Fforms.py;h=03279588a1ef40d045bb02982a49dbed17d6c24e;hp=82197696588b3ced6f8a86bf71e7db18d8e0dc4b;hb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8;hpb=3d74843a8982926ab4ce310ed937a4f41ee36810 diff --git a/apps/patchwork/forms.py b/apps/patchwork/forms.py index 8219769..0327958 100644 --- a/apps/patchwork/forms.py +++ b/apps/patchwork/forms.py @@ -89,7 +89,7 @@ class DeleteBundleForm(forms.Form): class DelegateField(forms.ModelChoiceField): def __init__(self, project, *args, **kwargs): - queryset = User.objects.filter(userprofile__in = \ + queryset = User.objects.filter(profile__in = \ UserProfile.objects \ .filter(maintainer_projects = project) \ .values('pk').query)