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)
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
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
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
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 *
>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
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
7 matches
Mail list logo