Timeline for Tornado quiz app
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2014 at 2:29 | vote | accept | avi | ||
Feb 20, 2014 at 4:46 | comment | added | avi | I am not hardcoding URLs and I am following standard examples from Tornado itself. But I will look into it. I don't know Flask, so I cannot really comment. Rest all your advice makes sense to me and I will correct my mistakes :) | |
Feb 20, 2014 at 4:45 | comment | added | avi |
Thank you very much for great feedback ;-) I agree mydb is the worst name! Earlier I was using different handlers for questions and answers, in the process of renaming, I forgot about Q0Handler . I agree again, another worse name. In Q0Handler , I think it never gets called with answer=None , thats why I am not getting any error when I am trying to do answer=answer[1:] . If the answer is not present in URL, then it will be called with empty string and that's why slicing doesn't throw any error.
|
|
Feb 19, 2014 at 18:24 | history | answered | BluePeppers | CC BY-SA 3.0 |