Question admin
question.admin:#
QuestionGroupAdmin
#
Bases: ModelAdmin
Source code in question/admin.py
get_form(request, obj=None, **kwargs)
#
This method is needed because setting the QuestionGroup.questions field as readonly for built-in (i.e., not editable) groups shows the questions as one-line of concatenated strings, which is ugly. Instead, this method allows to keep the checkboxes, but disabled