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
26fcbefe
Commit
26fcbefe
authored
Jul 28, 2017
by
Tyler Hallada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add migration for new overrides table
parent
f41cf121
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
lms/djangoapps/grades/migrations/0013_persistentsubsectiongradeoverride.py
+27
-0
No files found.
lms/djangoapps/grades/migrations/0013_persistentsubsectiongradeoverride.py
0 → 100644
View file @
26fcbefe
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'grades'
,
'0012_computegradessetting'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'PersistentSubsectionGradeOverride'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
models
.
DateTimeField
(
auto_now_add
=
True
,
db_index
=
True
)),
(
'modified'
,
models
.
DateTimeField
(
auto_now
=
True
,
db_index
=
True
)),
(
'earned_all_override'
,
models
.
FloatField
(
null
=
True
,
blank
=
True
)),
(
'possible_all_override'
,
models
.
FloatField
(
null
=
True
,
blank
=
True
)),
(
'earned_graded_override'
,
models
.
FloatField
(
null
=
True
,
blank
=
True
)),
(
'possible_graded_override'
,
models
.
FloatField
(
null
=
True
,
blank
=
True
)),
(
'grade'
,
models
.
OneToOneField
(
related_name
=
'override'
,
to
=
'grades.PersistentSubsectionGrade'
)),
],
),
]
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