+1, I agree, since I no longer use form_for_X method for a while I use something like that:
from forms import SimpleForm from django.contrib.auth.models import User import django.newforms as forms class UserForm(SimpleForm): model = User password2 = forms.CharField(label='Confirm password', widget=forms.PasswordInput()) class Render: fields = (('first_name', 'last_name'), 'username', ('password','password2'), 'email', ('is_active', 'is_staff', 'is_superuser')) PS : http://smelaatifi.blogspot.com/2007/08/declarative-forms-django-newforms.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---