Re: How to show the email field in a UserCreationForm?

2009-08-11 Thread Berco Beute
To reply to my own question...I've extended UserCreationForm as follows: == class UserCreationFormExtended(UserCreationForm): def __init__(self, *args, **kwargs): super(UserCreationFormExtended, self).__init__(*args, **kwargs) self.fields['first_name'].require

How to show the email field in a UserCreationForm?

2009-08-11 Thread Berco Beute
Hi, I'm using the UserCreationForm for creating users, but I would like to show the email, firstname and lastname fields as well (and they should be required). Much like the view you get when adding a user through the admin interface. What's the best way to do this? Extend UserCreationForm? Or cr