Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. form = new Form(request.form)
  2. dbobj = <some query to single SQLAlchemy Object>
  3. form.populate_object(dbobj)
  4. session.commit()
  5.  
  6. form = FormWithFieldList(request.form)
  7. dbobjlist = <some Query>.all()
  8.  
  9. TypeError: populate_obj() takes exactly 3 arguments (2 given)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement