I want to customise the django.contrib.auth UserCreationForm to:
- Ignore the email field, and only di开发者_Python百科splay a user-name which must be an email address
- Prompt the user for first name and last name.
I'm using django-registration if that makes a difference.
How can I do this?
I can subclass the form, but how do I tell the auth system to use my version of the form instead of the default one?
Thanks
I think this is the answer:
http://dmitko.ru/?p=546
精彩评论