Hi all,

I have implemented a custom user model that extends AbstractBaseUser, where
an EmailField is set as the USERNAME_FIELD. Logging in with a default auth
login view and AuthenticationForm works nicely, however, the username field
is still a CharField and thus rendered as a regular input field. I'm using
Django 1.6 where I was expecting a type='email' input field.

How about we change the widget of the username field in AuthenticationForms
__init__ method based on USERNAME_FIELD? If yes, would it be too late to
sneak this into 1.6 given the new use of HTML5 input types? I'm happy to
provide a patch.


*Anders Steinlein*
*Eliksir AS*
http://e5r.no

E-post: [email protected]
Mobil: +47 926 13 069
Twitter: @asteinlein

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to