staff_grading.py 552 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
"""
LMS part of instructor grading:

- views + ajax handling
- calls the instructor grading service
"""

import json
import logging

log = logging.getLogger(__name__)


class StaffGrading(object):
    """
    Wrap up functionality for staff grading of submissions--interface exposes get_html, ajax views.
    """
    def __init__(self, course):
        self.course = course

    def get_html(self):
        return "<b>Instructor grading!</b>"
        # context = {}
        # return render_to_string('courseware/instructor_grading_view.html', context)