Re: from django.contrib.admin.models import User

2012-11-06 Thread Tom Evans
On Tue, Nov 6, 2012 at 12:13 PM, André Dieb wrote: > On Tue, Nov 6, 2012 at 8:55 AM, André Dieb wrote: >> >> Em segunda-feira, 5 de novembro de 2012, Russell Keith-Magee escreveu: >> >>> >>> On Mon, Nov 5, 2012 at 7:50 PM, André Dieb wrote: From what I see on django's source code (dev)

Re: from django.contrib.admin.models import User

2012-11-06 Thread André Dieb
On Tue, Nov 6, 2012 at 8:55 AM, André Dieb wrote: > Em segunda-feira, 5 de novembro de 2012, Russell Keith-Magee escreveu: > > >> On Mon, Nov 5, 2012 at 7:50 PM, André Dieb wrote: >> >>> From what I see on django's source code (dev), there used to be an >>> import of django.contrib.auth.models.U

Re: from django.contrib.admin.models import User

2012-11-06 Thread André Dieb
Em segunda-feira, 5 de novembro de 2012, Russell Keith-Magee escreveu: > > On Mon, Nov 5, 2012 at 7:50 PM, André Dieb > > > wrote: > >> From what I see on django's source code (dev), there used to be an import >> of django.contrib.auth.models.User inside django.contrib.admin.models, >> which mea

Re: from django.contrib.admin.models import User

2012-11-06 Thread Bastian
Thanks for your answers, I will stick with the official django.contrib.auth.models. On Monday, November 5, 2012 11:59:16 PM UTC+1, Russell Keith-Magee wrote: > > > On Mon, Nov 5, 2012 at 7:50 PM, André Dieb > > wrote: > >> From what I see on django's source code (dev), there used to be an import

Re: from django.contrib.admin.models import User

2012-11-05 Thread Russell Keith-Magee
On Mon, Nov 5, 2012 at 7:50 PM, André Dieb wrote: > From what I see on django's source code (dev), there used to be an import > of django.contrib.auth.models.User inside django.contrib.admin.models, > which means the answer to your question may be: there was no difference. > > Incorrect - there *

Re: from django.contrib.admin.models import User

2012-11-05 Thread André Dieb
>From what I see on django's source code (dev), there used to be an import of django.contrib.auth.models.User inside django.contrib.admin.models, which means the answer to your question may be: there was no difference. Though, probably best to use contrib.auth on any older version. On Mon, Nov 5

from django.contrib.admin.models import User

2012-11-05 Thread Bastian
Hi, When I need to use the 'User' class I always import it from django.contrib.auth.models. Now reading some code from other people sometimes I see it imported from django.contrib.admin.models and it seems to have the same consequences. Can anybody tell me the difference between the two ways of