Skip to content
Snippets Groups Projects
Commit 663ded07 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-2893: comment

parent 9f58a38f
No related branches found
No related tags found
1 merge request!1289Resolve TMSS-2893
...@@ -755,7 +755,7 @@ def failure_report(request): ...@@ -755,7 +755,7 @@ def failure_report(request):
@swagger_auto_schema(responses={200: 'A json list of the current public schedule.'}, @swagger_auto_schema(responses={200: 'A json list of the current public schedule.'},
operation_description="Get a json list of the current public schedule.") operation_description="Get a json list of the current public schedule.")
def public_schedule(request): def public_schedule(request):
'''return the current and future running and scheduled units in either html table or json depending on the request accept header''' '''return the current and future(2 weeks) running and scheduled units in a simple html table'''
# get all current and future running and scheduled units # get all current and future running and scheduled units
scheduled_or_running_units = models.SchedulingUnitBlueprint.objects.prefetch_related('task_blueprints__specifications_template__type') \ scheduled_or_running_units = models.SchedulingUnitBlueprint.objects.prefetch_related('task_blueprints__specifications_template__type') \
.select_related(models.SchedulingUnitBlueprint.path_to_project, 'status', 'specifications_template', 'specifications_template') \ .select_related(models.SchedulingUnitBlueprint.path_to_project, 'status', 'specifications_template', 'specifications_template') \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment