Closed ni8mr closed 9 years ago
Hi - You can define the field name as a string -> https://wtforms.readthedocs.org/en/latest/fields.html#the-field-base-class
However, I think this may be a typo, as the task_id
, should not have a name of Priority
. Which chapter is this in? Thanks!
Hello, it was in Chapter 9, Page no-144.
About my question, if it is a typo than it will satisfy my query. (What should we use in IntegerField() than?)
Yes, it's a typo. Just leave the field blank.
Ok, thank you very much :) . I love your book, it is helping me to understand the core concept of web programming.
I am closing the issue now.
Ohh, one more question, should i make a pull request to your repo?
(it will add a contribution to my profile :) )
Thanks!
Go ahead and leave this open. Need to remember to update the course. :)
OK. :)
Hello, I am not able to understand the process of defining 'task_id' like this-
task_id = IntegerField('Priority')
My question is why we are using 'Priority' within IntegerField().
I have my own explanation that we are going to use that in 'priority' so that we can prioritize tasks using the task_id. But i am not sure here.
I couldn't find any 'help tag' here or else it would been 'help' issue. I am following your Real Python books part 2 now. I couldn't find any forums for such kind of questions either.