Skip to content

Participant admin

participant.admin:

ResultInline

Bases: TabularInline

Inline to show results linked to given participant

Source code in participant/admin.py
 6
 7
 8
 9
10
11
class ResultInline(admin.TabularInline):
    """Inline to show results linked to given participant"""

    model = Result
    fields = ["created_at", "question_key", "given_response"]
    extra = 0