Skip to content

Instantly share code, notes, and snippets.

@dj-amadeous
Created December 31, 2015 01:19
Show Gist options
  • Save dj-amadeous/b88957963a61d8aeba13 to your computer and use it in GitHub Desktop.
Save dj-amadeous/b88957963a61d8aeba13 to your computer and use it in GitHub Desktop.
from flask.ext.wtf import Form
from wtforms import StringField, BooleanField
from wtforms.validators import DataRequired
class LoginForm(form):
openid = StringField('openid', validators=[DataRequired()])
remember_me = BooleanField('remember_me', default=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment