Merge branch 'master' of http://210.77.77.77/xieshen/newmediamonitoring
This commit is contained in:
commit
c72cfb9b52
|
@ -65,7 +65,7 @@ def create_task(request):
|
||||||
task=task, category=2, image=picture)
|
task=task, category=2, image=picture)
|
||||||
|
|
||||||
for group in groups:
|
for group in groups:
|
||||||
users = Group_user.objects.filter(group=group)
|
users = Group_user.objects.filter(group_id=group)
|
||||||
for u in users:
|
for u in users:
|
||||||
g = Group.objects.get(id=group)
|
g = Group.objects.get(id=group)
|
||||||
profile = Userprofile.objects.filter(user_id=u.user_id).first()
|
profile = Userprofile.objects.filter(user_id=u.user_id).first()
|
||||||
|
|
Loading…
Reference in New Issue