class EditProfileForm(forms.Form): nick = fields.RegexField(label='Имя', regex=conf.accounts_settings.NICK_REGEX, min_length=conf.accounts_settings.NICK_MIN_LENGTH, max_length=conf.accounts_settings.NICK_MAX_LENGTH) email = fields.EmailField(label='Email (логин)') password = fields.PasswordField(label='Новый пароль', required=False)
class ResetPasswordForm(forms.Form): email = fields.EmailField(label='Email')
class LoginForm(forms.Form): email = fields.EmailField(label='Email') password = fields.PasswordField(label='Пароль') remember = fields.BooleanField(label='Запомнить меня', required=False)