mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-19 10:58:06 +08:00
renamed get_group_result to get_result_group
I think I fumbled a commit
This commit is contained in:
@@ -31,7 +31,7 @@ class Task(models.Model):
|
||||
return Task.objects.get(name=task_id).result
|
||||
|
||||
@staticmethod
|
||||
def get_group_result(group_id):
|
||||
def get_result_group(group_id):
|
||||
# values_list() doesn't work here cause it returns encoded fields
|
||||
return [t.result for t in Task.get_task_group(group_id)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user