Python Course.objects - 2 examples found. These are the top rated real world Python examples of core.models.Course.objects extracted from open source projects. You can rate examples to help us improve the quality of examples.
def get(self, course_uuid):
"""
Retrieve a course by ID
"""
course = Course.objects(uuid=course_uuid).first()
if not course:
api.abort(404)
return course