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 <[email protected]>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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<django-users%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to