Re: [Tutor] Cannot understand object initiation

2013-10-14 Thread Kush Goyal
ses for database handling. So, did I get the above things right? Thanks! Kush On Sat, Oct 12, 2013 at 10:17 PM, bob gailer wrote: > On 10/12/2013 11:01 AM, Kush Goyal wrote: >> >> [[snip] >> >> "user = User.query.filter_by ( username = self.username.data

[Tutor] Cannot understand object initiation

2013-10-12 Thread Kush Goyal
Hi, I am learning web development by using flask framework. The below code is used to create a class LoginForm which inherits from the class Form. In the method 'validate' of class 'LoginForm' the variable 'user' is initialized by using: "user = User.query.filter_by ( username = self.username.da