# -*- coding: utf-8 -*-
from django import forms
# from captcha.fields import CaptchaField

__author__ = 'zx'
__date__ = '08/05/2017 03:31'


class LoginForm(forms.Form):
    username = forms.CharField(required=True)
    password = forms.CharField(required=True)


class RegisterForm(forms.Form):
    email = forms.EmailField(required=True)
    password = forms.CharField(required=True)
    # captcha = CaptchaField(error_messages={'invalid': u'Invalid verify code!'})

fc7e28b8b453a5f5504f9066791412b3fcfb7465
<mask token>


class LoginForm(forms.Form):
    <mask token>
    <mask token>


class RegisterForm(forms.Form):
    email = forms.EmailField(required=True)
    password = forms.CharField(required=True)

<mask token>


class LoginForm(forms.Form):
    username = forms.CharField(required=True)
    password = forms.CharField(required=True)


class RegisterForm(forms.Form):
    email = forms.EmailField(required=True)
    password = forms.CharField(required=True)

<mask token>
__author__ = 'zx'
__date__ = '08/05/2017 03:31'


class LoginForm(forms.Form):
    username = forms.CharField(required=True)
    password = forms.CharField(required=True)


class RegisterForm(forms.Form):
    email = forms.EmailField(required=True)
    password = forms.CharField(required=True)

from django import forms
__author__ = 'zx'
__date__ = '08/05/2017 03:31'


class LoginForm(forms.Form):
    username = forms.CharField(required=True)
    password = forms.CharField(required=True)


class RegisterForm(forms.Form):
    email = forms.EmailField(required=True)
    password = forms.CharField(required=True)

# -*- coding: utf-8 -*-
from django import forms
# from captcha.fields import CaptchaField

__author__ = 'zx'
__date__ = '08/05/2017 03:31'


class LoginForm(forms.Form):
    username = forms.CharField(required=True)
    password = forms.CharField(required=True)


class RegisterForm(forms.Form):
    email = forms.EmailField(required=True)
    password = forms.CharField(required=True)
    # captcha = CaptchaField(error_messages={'invalid': u'Invalid verify code!'})
