From 4db37003d97487af36e1e246dd2644b912e0b4fb Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 8 Jan 2012 06:48:01 -0400 Subject: [PATCH] Call the proper method when adding anonymous user singleton to the new holder list --- apps/acls/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/acls/forms.py b/apps/acls/forms.py index 13777cf98e..7f651f7f1b 100644 --- a/apps/acls/forms.py +++ b/apps/acls/forms.py @@ -40,7 +40,7 @@ class HolderSelectionForm(forms.Form): if roles: non_holder_list.append((_(u'Roles'), _as_choice_list(list(roles)))) - non_holder_list.append((_(u'Special'), _as_choice_list([AnonymousUserSingleton.get()]))) + non_holder_list.append((_(u'Special'), _as_choice_list([AnonymousUserSingleton.objects.get()]))) super(HolderSelectionForm, self).__init__(*args, **kwargs) self.fields['holder_gid'].choices = non_holder_list