Changes between Version 1 and Version 2 of newforms


Ignore:
Timestamp:
02/28/2007 09:02:03 PM (9 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • newforms

    v1 v2  
    1 Some example code
    21
    3 {{{
    4 
    5 from django import newforms as forms
    6 
    7 class 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