Question paper generator

QuestionPaper model modified for generating random questions.
Added language field to Question model.
Removed tags from Quiz model.
Template and javascript for Add and Edit questions modified.
Added test cases for models.
The total_marks attribute contains the total marks for the question paper.
We need to calculate the total_marks.
The get_total_marks method returns the total_marks.
So, shall I remove the method from the models and include the functionality in views?