mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-05 07:51:51 -05:00
AC-1040 Unified jobs updates to get unit tests to pass (hopefully).
This commit is contained in:
@@ -644,7 +644,7 @@ class ProjectList(ListCreateAPIView):
|
||||
projects_qs = Project.objects.filter(active=True)
|
||||
projects_qs = projects_qs.select_related('current_update', 'last_updated')
|
||||
for project in projects_qs:
|
||||
project.set_status_and_last_updated()
|
||||
project._set_status_and_last_job_run()
|
||||
return super(ProjectList, self).get(request, *args, **kwargs)
|
||||
|
||||
class ProjectDetail(RetrieveUpdateDestroyAPIView):
|
||||
|
||||
Reference in New Issue
Block a user