Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-data-api
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-analytics-data-api
Commits
e533cdf1
Commit
e533cdf1
authored
Oct 14, 2014
by
dylanrhodes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary db_column option parameterization from Model classes
parent
3afb4103
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
analytics_data_api/v0/models.py
+10
-10
No files found.
analytics_data_api/v0/models.py
View file @
e533cdf1
...
...
@@ -127,12 +127,12 @@ class GradeDistribution(models.Model):
class
Meta
(
object
):
db_table
=
'grade_distribution'
module_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
,
db_column
=
'module_id'
)
course_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
,
db_column
=
'course_id'
)
grade
=
models
.
IntegerField
(
db_column
=
'grade'
)
max_grade
=
models
.
IntegerField
(
db_column
=
'max_grade'
)
count
=
models
.
IntegerField
(
db_column
=
'count'
)
created
=
models
.
DateTimeField
(
auto_now_add
=
True
,
db_column
=
'created'
)
module_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
)
course_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
)
grade
=
models
.
IntegerField
()
max_grade
=
models
.
IntegerField
()
count
=
models
.
IntegerField
()
created
=
models
.
DateTimeField
(
auto_now_add
=
True
)
class
SequentialOpenDistribution
(
models
.
Model
):
...
...
@@ -141,7 +141,7 @@ class SequentialOpenDistribution(models.Model):
class
Meta
(
object
):
db_table
=
'sequential_open_distribution'
module_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
,
db_column
=
'module_id'
)
course_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
,
db_column
=
'course_id'
)
count
=
models
.
IntegerField
(
db_column
=
'count'
)
created
=
models
.
DateTimeField
(
auto_now_add
=
True
,
db_column
=
'created'
)
module_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
)
course_id
=
models
.
CharField
(
db_index
=
True
,
max_length
=
255
)
count
=
models
.
IntegerField
()
created
=
models
.
DateTimeField
(
auto_now_add
=
True
)
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