also cleant up a bit the import towards PEP8: builtin modules first, then 3rd party python packages, then local packages
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			286 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			286 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from __future__ import absolute_import
 | |
| 
 | |
| from flask_wtf import Form
 | |
| from wtforms import StringField, PasswordField, validators
 | |
| 
 | |
| 
 | |
| class LoginForm(Form):
 | |
|     login = StringField('Username', [validators.DataRequired()])
 | |
|     password = PasswordField('Password', [validators.DataRequired()])
 |