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
e9b121b8
Commit
e9b121b8
authored
Nov 07, 2016
by
jagonzalr
Committed by
Eric Fischer
Nov 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prevent RemovedInDjango19Warnings
parent
0c40dfc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
lms/djangoapps/grades/models.py
+5
-0
requirements/edx/base.txt
+1
-1
No files found.
lms/djangoapps/grades/models.py
View file @
e9b121b8
...
...
@@ -151,6 +151,9 @@ class VisibleBlocks(models.Model):
objects
=
VisibleBlocksQuerySet
.
as_manager
()
class
Meta
(
object
):
app_label
=
"grades"
def
__unicode__
(
self
):
"""
String representation of this model.
...
...
@@ -208,6 +211,7 @@ class PersistentSubsectionGrade(TimeStampedModel):
"""
class
Meta
(
object
):
app_label
=
"grades"
unique_together
=
[
# * Specific grades can be pulled using all three columns,
# * Progress page can pull all grades for a given (course_id, user_id)
...
...
@@ -422,6 +426,7 @@ class PersistentCourseGrade(TimeStampedModel):
"""
class
Meta
(
object
):
app_label
=
"grades"
# Indices:
# (course_id, user_id) for individual grades
# (course_id) for instructors to see all course grades, implicitly created via the unique_together constraint
...
...
requirements/edx/base.txt
View file @
e9b121b8
...
...
@@ -108,7 +108,7 @@ sympy==0.7.1
xmltodict==0.4.1
django-ratelimit-backend==1.0
unicodecsv==0.9.4
django-require==1.0.
6
django-require==1.0.
11
pyuca==1.1
wrapt==1.10.5
zendesk==1.1.1
...
...
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