diff options
Diffstat (limited to 'taskapp/utilities/request.py')
-rw-r--r-- | taskapp/utilities/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/taskapp/utilities/request.py b/taskapp/utilities/request.py index b16eca2..30ab6b0 100644 --- a/taskapp/utilities/request.py +++ b/taskapp/utilities/request.py @@ -22,7 +22,7 @@ def create_request(sent_by,role,sent_to=None,task=None,receiving_user=None,pynts req.save() if role == 'PY': admin_profiles = Profile.objects.filter(rights='AD') - for admin in admin_profiles: + for admin_profile in admin_profiles: req.sent_to.add(admin_profile.user) req.receiving_user = receiving_user else: |