On Mon, 2007-03-26 at 16:25 +0000, John Lee wrote:
> It does work.  However the "email" field of User should be set to
> "blank=False" and "unique=True" if we really want to use email as the
> unique userid.  How can we override the default field definition of
> User.email?

You cannot override an existing class. In this case, you are going to
have to change the existing Django model. Sorry about that.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to