Actually, I just came across this ticket:

http://code.djangoproject.com/ticket/13971

Seems to describe my problem exactly. Sounds like a new bug.

Jacob

On Wed, Jul 21, 2010 at 6:00 PM, Jacob Fenwick <jacob.fenw...@gmail.com>wrote:

> class FooCreationForm(UserCreationForm):
>     email = forms.EmailField(label=_("E-mail address"))
>     class Meta(UserCreationForm.Meta):
>         fields = ('email', 'username')
>         exclude = ('password1', 'password2')
>
>
>
> I would think that this form would show me only the email and password in
> that order and exclude the two password.
>
> Instead it puts the fields in the correct order but it does not exclude the
> two passwords.
>
> So it's half working.
>
> Why does exclude not work?
>
> Jacob
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to