Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
1f261e65
Commit
1f261e65
authored
Jan 22, 2013
by
Don Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused and stylistically incorrect class defs
parent
75b0a8ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
common/djangoapps/models/__init__.py
+0
-0
common/djangoapps/models/course_relative.py
+0
-26
No files found.
common/djangoapps/models/__init__.py
deleted
100644 → 0
View file @
75b0a8ee
common/djangoapps/models/course_relative.py
deleted
100644 → 0
View file @
75b0a8ee
class
CourseRelativeMember
(
object
):
def
__init__
(
self
,
location
,
idx
):
self
.
course_location
=
location
# a Location obj
self
.
idx
=
idx
# which milestone this represents. Hopefully persisted # so we don't have race conditions
### ??? If 2+ courses use the same textbook or other asset, should they point to the same db record?
class
linked_asset
(
CourseRelativeMember
):
"""
Something uploaded to our asset lib which has a name/label and location. Here it's tracked by course and index, but
we could replace the label/url w/ a pointer to a real asset and keep the join info here.
"""
def
__init__
(
self
,
location
,
idx
):
CourseRelativeMember
.
__init__
(
self
,
location
,
idx
)
self
.
label
=
""
self
.
url
=
None
class
summary_detail_pair
(
CourseRelativeMember
):
"""
A short text with an arbitrary html descriptor used for paired label - details elements.
"""
def
__init__
(
self
,
location
,
idx
):
CourseRelativeMember
.
__init__
(
self
,
location
,
idx
)
self
.
summary
=
""
self
.
detail
=
""
\ No newline at end of file
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