Changes between Initial Version and Version 1 of newforms


Ignore:
Timestamp:
02/27/2007 11:23:01 PM (11 years ago)
Author:
tlp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • newforms

    v1 v1  
     1Some example code
     2
     3{{{
     4
     5from django import newforms as forms
     6
     7class UserForm(forms.Form):
     8    firstname = forms.CharField(max_length=50)
     9    lastname = forms.CharField(max_length=50)
     10    email = forms.EmailField()   
     11    password1 = forms.CharField(widget=forms.PasswordInput())
     12    password2 = forms.CharField(widget=forms.PasswordInput())
     13
     14}}}
Back to Top