1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Use unified job set for joining the schedule and unified jobs

This commit is contained in:
Matthew Jones 2014-03-28 12:52:28 -04:00
parent 799e8d30ba
commit c1734d74cf

View File

@ -256,7 +256,7 @@ class ScheduleUnifiedJobsList(SubListAPIView):
model = UnifiedJob model = UnifiedJob
serializer_class = UnifiedJobSerializer serializer_class = UnifiedJobSerializer
parent_model = Schedule parent_model = Schedule
relationship = '' relationship = 'unifiedjob_set'
view_name = 'Schedule Jobs List' view_name = 'Schedule Jobs List'
class AuthTokenView(APIView): class AuthTokenView(APIView):