Commit 5af67c1b by Calen Pennington

Put course location urls in heartbeat page, rather than lists

parent 57444bdd
......@@ -10,6 +10,6 @@ def heartbeat(request):
"""
output = {
'date': datetime.now().isoformat(),
'courses': [course.location for course in modulestore().get_courses()],
'courses': [course.location.url() for course in modulestore().get_courses()],
}
return HttpResponse(json.dumps(output, indent=4))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment