summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikaël Ates <mates@entrouvert.com>2014-10-13 14:18:56 (GMT)
committerMikaël Ates <mates@entrouvert.com>2014-10-13 14:19:09 (GMT)
commit861220e23c36a665fcbb3aa4821a2c5c6863d43b (patch)
treeed2c92c1bc5a82397d0bd1d30cb58b7a0421c2a9
parent4294c2b4a183a0c87c9e06f58596c192b5734939 (diff)
downloadcalebasse-861220e23c36a665fcbb3aa4821a2c5c6863d43b.zip
calebasse-861220e23c36a665fcbb3aa4821a2c5c6863d43b.tar.gz
calebasse-861220e23c36a665fcbb3aa4821a2c5c6863d43b.tar.bz2
personnes: don't filter worker per service in access management (fixes #5667).
-rw-r--r--calebasse/personnes/forms.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/calebasse/personnes/forms.py b/calebasse/personnes/forms.py
index 44f6c3e..303d9b9 100644
--- a/calebasse/personnes/forms.py
+++ b/calebasse/personnes/forms.py
@@ -29,7 +29,6 @@ class UserForm(forms.ModelForm):
def __init__(self, service=None, *args, **kwargs):
self.service = service
super(UserForm, self).__init__(*args, **kwargs)
- self.fields['worker'].queryset = Worker.objects.for_service(service)
self.fields['username'].label = _('Identifiant')
if self.instance:
try: