Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Agile Web Development (CITS3403).
RSS cloud
Jump to:

Why does changing one input break this code segment?

1 of 419 articles shown, currently no other people reading this forum.
From: Haolin W.
Date: Fri 22nd May 2020, 10:19am


Have you tried changing the filter_by part to filter_by(quizCode=1).all() ? Changing the string to an integer, 
as well as adding the all function? From my experience leaving out the all part results in the raw SQL query 
instead of the actual list. What does printing out selectedQuiz return? What does printing quiz return?

I can join the lab zoom or haolin#2060 if you want to screenshare.

Related articles

Why does changing one input break this code segment? (all 5) RSS
├─ original   Fri 22nd May 2020, 3:34am, ANONYMOUS
├─ reply 1   Fri 22nd May 2020, 10:06am, Haolin W.
├─ reply 2   Fri 22nd May 2020, 10:15am, ANONYMOUS  O.P.
├─ THIS   Fri 22nd May 2020, 10:19am, Haolin W.
└─ reply 4   Fri 22nd May 2020, 11:22am, Takoyaki N.
This Page

Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020