diff options
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 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) |