socek

Untitled

Dec 4th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. class MyFormOne(Form):
  2.     pole1 = Field()
  3.     pole2 = Field()
  4.  
  5. vs
  6.  
  7. class MyFormTwo(Form):
  8.     def create_form(self):
  9.         self.add_field('pole1')
  10.         self.add_field('pole2')
Advertisement
Add Comment
Please, Sign In to add comment