Skip to content

Commit

Permalink
Added attribute category to course getter
Browse files Browse the repository at this point in the history
  • Loading branch information
CJHwong committed Aug 22, 2017
1 parent 2238086 commit af1ae97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions calApi/timetable/views/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def get_courses_by_code(request):
"location": c.location,
"note": c.note,
"discipline": c.discipline,
"category": c.category,
}
)
return JsonResponse(result, safe=False)
Expand Down

0 comments on commit af1ae97

Please sign in to comment.