diff --git a/atdb/taskdatabase/views.py b/atdb/taskdatabase/views.py index 206b3d3a1cbc73f1420e929837620fb97eae428e..fd2065c182ab0444e21bd3d207be811db63c1729 100644 --- a/atdb/taskdatabase/views.py +++ b/atdb/taskdatabase/views.py @@ -1156,9 +1156,6 @@ def TaskRetry(request, pk, new_status, page=0): @login_required def TaskDiscard(request, pk, new_status, page=0): - # TODO: when the cleanup service in place, - # make a change in this line in failures\tasks.html. Change 'discard' into 'discarded'. - # <a href="{% url 'task-discard-view' task.pk 'discarded' my_tasks.number %}" task = Task.objects.get(pk=pk) @@ -1199,9 +1196,6 @@ def TaskDiscard(request, pk, new_status, page=0): def TaskDiscardSasId(request, pk, new_status, page=0): - # TODO: when the cleanup service in place, - # make a change in this line in failures\tasks.html. Change 'discard' into 'discarded'. - # <a href="{% url 'task-discard-view' task.pk 'discarded' my_tasks.number %}" task = Task.objects.get(pk=pk) sas_id = task.sas_id @@ -1475,9 +1469,6 @@ class GetMinMaxTimeView(generics.ListAPIView): }) -from rest_framework.serializers import ListSerializer - - # /atdb/get_unique_values_for_key/{key} class GetUniqueValuesForKey(generics.ListAPIView): queryset = Task.objects.all()