Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
ae6f14dc
Commit
ae6f14dc
authored
Jan 18, 2014
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pure XBlock instead XModule.
parent
c138b04f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
25 deletions
+11
-25
peer_grading/xblock/peer_grading_block.py
+10
-0
peer_grading/xblock/peer_grading_module.py
+0
-25
requirements/base.txt
+1
-0
No files found.
peer_grading/xblock/peer_grading_block.py
0 → 100644
View file @
ae6f14dc
import
logging
from
xblock.core
import
XBlock
log
=
logging
.
getLogger
(
__name__
)
class
PeerGradingBlock
(
XBlock
):
pass
\ No newline at end of file
peer_grading/xblock/peer_grading_module.py
deleted
100644 → 0
View file @
c138b04f
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
requirements/base.txt
View file @
ae6f14dc
# edX Internal Requirements
-e git+https://github.com/edx/XBlock.git@fa88607#egg=XBlock
# Third Party Requirements
django==1.4.8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment