Re: Best way to get a proxy model instance from a base class instance

2009-04-20 Thread Paul McLanahan
Ryan, Thank you so much. The custom auth backend is the perfect solution. I feel silly now that I didn't think of that :) Very nice work. Hope I can pay you back someday. Paul On Apr 20, 7:26 pm, Ryan Kelly wrote: > On Mon, 2009-04-20 at 15:17 -0700, Paul McLanahan wrote: > &g

Best way to get a proxy model instance from a base class instance

2009-04-20 Thread Paul McLanahan
I'm using a proxy model of django.contrib.auth.models.User to override __unicode__ and add some extra methods. This also means that I use my proxy model class in my ForeignKey and ManyToMany fields. This is all find and good until I need to use request.user and assign it to an instance of another