Skip to content

Commit

Permalink
Added problem_display_name and question_text fields to answer distrib…
Browse files Browse the repository at this point in the history
…ution.
  • Loading branch information
dsjen committed Dec 12, 2014
1 parent f9451ef commit a59375d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions analytics_data_api/v0/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ class Meta(object):
answer_value_text = models.TextField(db_column='answer_value_text', null=True)
answer_value_numeric = models.FloatField(db_column='answer_value_numeric', null=True)
variant = models.IntegerField(db_column='variant', null=True)
problem_display_name = models.TextField(db_column='problem_display_name', null=True)
question_text = models.TextField(db_column='question_text', null=True)
created = models.DateTimeField(auto_now_add=True, db_column='created')


Expand Down
2 changes: 2 additions & 0 deletions analytics_data_api/v0/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class Meta(object):
'value_id',
'answer_value_text',
'answer_value_numeric',
'problem_display_name',
'question_text',
'variant',
'created'
)
Expand Down

0 comments on commit a59375d

Please sign in to comment.