XBlocks Help

20 views
Skip to first unread message

Miguel PM

unread,
Aug 30, 2016, 5:49:45 AM8/30/16
to General Open edX discussion
Hi,

I need some help with storing my data for my XBlock.

I have created an Xblock so that teachers can create multiple choice video and text, image and text and simple text problems. 

I want to store these questions in XBlock Lists as python objects (each tournament has to have a list of questions, which are also python objects) but I don´t know how to. 

Also, for each student I want to store the result they gave and time they took in answering the question, which i manage with Javascript.

What I have done up to know is create a series of python objects (assessment, question, results, result, students and student) that have Xblock fields. In assessment, I want to store a List of questions defined as python Objects, in results a list of result (again, python object) and in students, a list of student (same as before).

Is there a way of easily doing this? I am taking the appropriate approach for this issue?

I could really do with a hand, since It is my final degree project and I am close to ending it, but can´t find a way to do this.

Thank you

Miguel
Reply all
Reply to author
Forward
0 new messages