Re: contrib.auth and User model

2007-11-09 Thread Gary Wilson
Alexander Solovyov wrote: > But lets' listen what core developers think about making this the > official way. :) Personally, I like the idea of being able to switch out User models, as long as a base interface can be worked out. It seems that there might be a few people using a version of a patc

Re: contrib.auth and User model

2007-11-08 Thread Jonathan Buchanan
On Nov 8, 2007 7:41 AM, Alexander Solovyov <[EMAIL PROTECTED]> wrote: > > On Nov 8, 2007 2:21 PM, Jonathan Buchanan <[EMAIL PROTECTED]> wrote: > > On this particular point, from the perspective of the reusable > > applications themselves, you don't need to worry about merging profile > > models,

Re: contrib.auth and User model

2007-11-08 Thread Alexander Solovyov
On Nov 8, 2007 2:21 PM, Jonathan Buchanan <[EMAIL PROTECTED]> wrote: > On this particular point, from the perspective of the reusable > applications themselves, you don't need to worry about merging profile > models, even if you are potentially working with many of them in your > overall project.

Re: contrib.auth and User model

2007-11-08 Thread eXt
On 8 Lis, 12:54, "Alexander Solovyov" <[EMAIL PROTECTED]> wrote: > On Nov 8, 2007 1:46 PM, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > > > See if this is of any help: > >http://www.amitu.com/blog/2007/july/django-extending-user-model/ I have used a method called "lost theories solution" in the po

Re: contrib.auth and User model

2007-11-08 Thread Jonathan Buchanan
On Nov 8, 2007 6:38 AM, Alexander Solovyov <[EMAIL PROTECTED]> wrote: > - (main trouble) if you have absolutely different applications, which > use profile for their > own purposes, you need to merge their Profile models - trouble is in > the updating of > this thing (f.e., you have forum, cre

Re: contrib.auth and User model

2007-11-08 Thread Alexander Solovyov
On Nov 8, 2007 1:46 PM, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > See if this is of any help: > http://www.amitu.com/blog/2007/july/django-extending-user-model/ He-he, so you have already done something like my proposal. :) Nice. But lets' listen what core developers think about making this the

Re: contrib.auth and User model

2007-11-08 Thread Amit Upadhyay
On Nov 8, 2007 5:08 PM, Alexander Solovyov <[EMAIL PROTECTED]> wrote: > > Hi, > > Django have known trouble with default User object, which is not > always appropriate for > all applications, when they need additional information. Of course, we > have solution with > user profile and get_profile,

contrib.auth and User model

2007-11-08 Thread Alexander Solovyov
Hi, Django have known trouble with default User object, which is not always appropriate for all applications, when they need additional information. Of course, we have solution with user profile and get_profile, but it is not very nice solution and have imperfections: ;-) - it is not fetched auto