Commit e8915d5b by David Ormsbee

Merge pull request #7 from edx/xblock_only

Use pure XBlock instead XModule.
parents a2aa4138 ae6f14dc
import logging
from xblock.core import XBlock
log = logging.getLogger(__name__)
class PeerGradingBlock(XBlock):
pass
\ No newline at end of file
import logging
from x_module import XBlock
from xmodule.raw_module import RawDescriptor
log = logging.getLogger(__name__)
class PeerGradingFields(object):
"""
@todo We'll need some Peer Grading Fields to define what information we want to pass to the grading workflow.
"""
pass
class PeerGradingModule(PeerGradingFields, XBlock):
_VERSION = 0
class PeerGradingDescriptor(PeerGradingFields, RawDescriptor):
"""
Module for adding peer grading questions
"""
# TODO What is a descriptor?
pass
# edX Internal Requirements
-e git+https://github.com/edx/XBlock.git@fa88607#egg=XBlock
# Third Party Requirements
django==1.4.8
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