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
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论