feat: Enhance security by adding @login_required to multiple views and replacing print statements with logger.debug
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -97,7 +97,6 @@ def question_detail(request, pk):
|
||||
@login_required
|
||||
def active_exams(request):
|
||||
exams = Exam.objects.all()
|
||||
print(exams)
|
||||
|
||||
active_exams = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user