Hi, thanks for the tip. I decided to just replicate
auth.forms.UserCreationForm and auth.forms.UserChangeForm as
OurUserCreationForm and OurUserChangeForm
Ofcourse with the difference of having username as a forms.EmailField

In admin.py of my application i did

admin.site.unregister(User)
UserAdmin.form = OurUserChangeForm
UserAdmin.add_form = OurUserCreationForm
admin.site.register(User, UserAdmin)

now it is working as needed
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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