diff --git a/atdb/taskdatabase/views.py b/atdb/taskdatabase/views.py index d77a03781f9bad89b00cf93ce41da6c53020c16a..53462130567c347260750f4ef2867b34c2646c69 100644 --- a/atdb/taskdatabase/views.py +++ b/atdb/taskdatabase/views.py @@ -1715,7 +1715,7 @@ def GetSummaryHtml(request, sas_id): # use a trick to be able to use the existing task based code queryset = Task.objects.filter(sas_id=sas_id) task = queryset[0] - + logger.info(task) # this would be the django template way of combining a html template with context. # but that didn't add any of the styling, so I did it the basic way (see below). # TODO: remove the commented out code later @@ -1741,16 +1741,16 @@ def GetSummaryHtml(request, sas_id): <div class="card-body"> <table class="table table-striped"> """ - + logger.info(body_html) # create the core html summary_html = algorithms.construct_summary(task) - + logger.info(summary_html) # close all the tags footer_html = "</table></div></div></div></body></html>" # combine the html sections html = head_html + body_html + summary_html + footer_html - + logger.info(html) return HttpResponse(html) except Exception as error: