Use it in the User class place , What I want to avoid is patching the
user source code.
Is there any way to do this ?

Sandro


On Dec 2, 7:33 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> > I did considered , but I could not see how to do it , the model I want
> > to inherit is from
> > contrib.Users and the model I want to replace is contrib.Users .
> > It looks to me like a circular reference ...??
> > How can I use the inherited model in the model I inherited from ??
>
> It's still not clear what you mean by "replacing a model".
>
> Let's say you derive your class MyUser from the
> django.contrib.auth.models.User class like this:
>
> class MyUser(User):
>     pass
>
> What is it that you want to do in the MyUser inherited class now?
>
> -Rajesh D
--~--~---------~--~----~------------~-------~--~----~
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