El lun, 07-07-2008 a las 17:55 +0100, Chris Hoeppner escribió:
> Yeah, the book makes you comment those, but makes you uncomment them
> again in the next (or the next) chapter =)
I guess that's what happens when you're in a hurry and start skipping
what you shouldn't. Serves me well. ;-)
--~
Yeah, the book makes you comment those, but makes you uncomment them
again in the next (or the next) chapter =)
On 07/07/2008, at 17:44, Fernando Rodríguez wrote:
>
> El lun, 07-07-2008 a las 12:30 -0400, Karen Tracey escribió:
>
>
>
>>
>> [snip]
>>
>> MIDDLEWARE_CLASSES = [] #(
>>
El lun, 07-07-2008 a las 12:30 -0400, Karen Tracey escribió:
>
> [snip]
>
> MIDDLEWARE_CLASSES = [] #(
>#'django.middleware.common.CommonMiddleware',
>#'django.contrib.sessions.middleware.SessionMiddleware',
>#'django.contrib
On Mon, Jul 7, 2008 at 12:13 PM, Fernando Rodríguez <[EMAIL PROTECTED]>
wrote:
>
> El lun, 07-07-2008 a las 07:02 -0700, urukay escribió:
> >
> > never faced this kind of problem before :S..maybe if u write down or
> upload
> > somewhere ur settings.py file
>
> Here it is:
>
> [snip]
>
> MIDDLEWAR
El lun, 07-07-2008 a las 07:02 -0700, urukay escribió:
>
> never faced this kind of problem before :S..maybe if u write down or upload
> somewhere ur settings.py file
Here it is:
---
# Django
On Mon, Jul 7, 2008 at 7:04 AM, Fernando Rodríguez <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> I followed the advice I got here, and added
> django.contrib.auth
> django.contrib.contenttypes
> django.contrib.admin
>
> to settings.py and included the following pattern to urlsp.py:
> (r'^admin/', include
t;
>> > Traceback (most recent call last):
>> > File "/var/lib/python-support/python2.5/django/core/handlers/base.py"
>> in
>> > get_response
>> > 77. response = callback(request, *callback_args, **callback_kwargs)
>> > File
>> >
>> "/var/lib/python-suppor
El lun, 07-07-2008 a las 04:24 -0700, urukay escribió:
>
> did u create user during SYNCDB?
yes and i got no errors.
>
>
> Fernando Rodríguez wrote:
> >
> >
> > Hi,
> >
> > I followed the advice I got here, and added
> > django.contrib.auth
> > django.contrib.contenttypes
> > django.contr
.is_staff:
>
> AttributeError at /admin/
> 'WSGIRequest' object has no attribute 'user'
>
> -------
>
> What am I STILL doing wrong?
>
> Thanks
Hi,
I followed the advice I got here, and added
django.contrib.auth
django.contrib.contenttypes
django.contrib.admin
to settings.py and included the following pattern to urlsp.py:
(r'^admin/', include('django.contrib.admin.urls')),
I also included
from django.contrib.auth.models import User
10 matches
Mail list logo