web.user.createuserview.CreateUserView

Package web :: Package user :: Module createuserview :: Class CreateUserView |
[hide private]
[frames] | no frames]

# Class CreateUserView

source code

Instance Methods | [hide private]
GET(self) | source code
POST(self) | source code

Class Variables | [hide private]
| form = `web.form.Form(web.form.Textbox('username', description=`...``

Method Details | [hide private]

### GET(self) | source code
Decorators: `@i18n`

Class Variable Details | [hide private]

  ### form Value:
      web.form.Form(web.form.Textbox('username', description= _('Username (3
       to 60 alfanumeric chars)')), web.form.Password('password', descriptio
      n= _('Password (7 or more characters)')), web.form.Password('password2
      ', description= _('Repeat Password')), web.form.Textbox('email', descr
      iption= _('Email')), web.form.Button('submit', type= 'submit', value=
      _('Register')), validators= [web.form.Validator(_('Passwords did\'t ma
      tch'), lambda i: i.password== i.password2), web.form.Validator(_('Pass
      word shorter than 7 characters'), lambda i: len(i.password) >= 7), web
      ...