module apps.display.html_display

Inheritance diagram of mathenjeu.apps.display.html_display

Short summary

module mathenjeu.apps.display.html_display

Defines HTML displays.

source on GitHub

Classes

class

truncated documentation

DisplayQuestionChoiceHTML

Renders a question into HTML.

Properties

property

truncated documentation

Fields

Returns all the fields.

Id

Returns the identifier.

Methods

method

truncated documentation

__init__

constructor

get_context

Renders a question specified as QCM.

Documentation

Defines HTML displays.

source on GitHub

class mathenjeu.apps.display.html_display.DisplayQuestionChoiceHTML[source]

Bases : mathenjeu.activities.base_classes.Display

Renders a question into HTML.

source on GitHub

constructor

source on GitHub

__init__()[source]

constructor

source on GitHub

get_context(group, item)[source]

Renders a question specified as QCM.

Paramètres
  • group – group of activities, see ActivityGroup

  • item – item in the group

Renvoie

dictionary

source on GitHub