On Wed, 2009-08-05 at 01:43 -0700, Shuge Lee wrote:
> django.contrib.auth.models.User
>
> I don't like models.User, but I like Admin view, and I will keep admin
> view in my application.
>
> How to overwirte models.User
You can't. Django relies on the existing User model.
There are *plenty*
django.contrib.auth.models.User
I don't like models.User, but I like Admin view, and I will keep admin
view in my application.
How to overwirte models.User
Make it just look like following
class ShugeUser(User)
username = EmailField(uniqute=True, verbose_name='EMail as your
username',
2 matches
Mail list logo