Mathematics app models¶
Mathematical exercises model module.
- class MathematicsAnalytic(*args, **kwargs)¶
Bases:
Model
Mathematical exercises model.
Stores tasks and user solutions for all mathematical exercises. The exercise contains two operands. The model stores only mathematical calculation Mathematics exercise.
- user¶
User performing the exercise.
- calculation_type¶
Type of mathematical calculation.
- first_operand¶
First operand of the expression.
- second_operand¶
Second operand of the expression.
- user_solution¶
User task solution.
- is_correctly¶
Marking the user’s solution to the task as correct.
- solution_time¶
Time spent by the user to solve the task.
- created_at¶
Date and time of task creation.