django-1.2 will support this.
for now, I think the only way to do this is using some hacks like:
http://www.djangosnippets.org/snippets/74/

On Thu, Apr 29, 2010 at 5:01 PM, Thomas Allen <thomasmal...@gmail.com>wrote:

> Hi everyone,
>
> I am looking for a way to replace the username with the email address
> as the unique key for user accounts. Is there a setting in
> contrib.auth to allow this? The solutions I've seen so far are hacks,
> validating email uniqueness via a form rather than as a model field,
> etc. In my mind a clean, acceptable way to do this would result in no
> username field at all in the User model.
>
> Thanks,
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

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