API

Models

class domande.models.Answer(*args, **kwargs)

Base Answer model

class domande.models.Choice(*args, **kwargs)

Model to store the choices for multi choice questions

class domande.models.ChoiceAnswer(*args, **kwargs)

ChoiceAnswer(id, polymorphic_ctype_id, created, modified, question_id, content_type_id, object_id, answer_ptr_id)

class domande.models.ChoiceQuestion(*args, **kwargs)

Question with answers that are chosen from a list of choices defined by the user.

get_form()

Returns the form for this model

class domande.models.Question(*args, **kwargs)

Represents a question.

class domande.models.TextAnswer(*args, **kwargs)

TextAnswer(id, polymorphic_ctype_id, created, modified, question_id, content_type_id, object_id, answer_ptr_id, answer)

class domande.models.TextQuestion(*args, **kwargs)

Question with a text answer

get_form()

Returns the form for this model

Project Versions

Table Of Contents

Previous topic

Welcome to django-domande’s documentation!

This Page