Skip to content

Create public template view for quiz #24

@payamnj

Description

@payamnj

The learner should be able to click on the link for a quiz course content and load the quiz form view.
This view should not require a user session login, but we should have a way to make sure a valid learner is filling the quiz that we asked them to fill.
The proposal is use a JWT in the URL query parameters. The JWT should contain sent_item_id and signed by the DJANGO_SECRET_KEY, the view should validate if the signature of the JWT is valid.

It should also check if the quiz is not already submitted by the learner and the enrolment status is active.

The view should load the quiz questions that allows the user to only choose one option for each question.
The view submission should be handled by an API call to get the quiz result. The user answer together with the JWT token should be passed to this API endpoint .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions