code: def CourseOfTime(request):
  	
  	day = request.GET['day']
  	time = request.GET['time']
  	school = request.GET['school']
  	dept = request.GET['dept'].split()
  	c = Course(school=school)
  	return JsonResponse(c.getByTime(day=day, time=time, deptArr=dept), safe=False)
docs: Generate list of obligatory and optional course of specific Dept.