Remove login requirement for exam_toggle_flag function to allow access without authentication.
This commit is contained in:
+1
-1
@@ -503,7 +503,7 @@ def exam_take_fragment(request, pk: int, sk: int, cid: str | None = None, passco
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
#@login_required
|
||||||
def exam_toggle_flag(request, pk: int, sk: int, cid: str | None = None, passcode: str | None = None):
|
def exam_toggle_flag(request, pk: int, sk: int, cid: str | None = None, passcode: str | None = None):
|
||||||
"""Toggle the flagged state for the current user's answer to a question.
|
"""Toggle the flagged state for the current user's answer to a question.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user