Re: Still unable to log into the admin interface

2008-07-07 Thread Fernando Rodríguez
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. ;-) --~

Re: Still unable to log into the admin interface

2008-07-07 Thread Chris Hoeppner
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 = [] #( >>

Re: Still unable to log into the admin interface

2008-07-07 Thread Fernando Rodríguez
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

Re: Still unable to log into the admin interface

2008-07-07 Thread Karen Tracey
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

Re: Still unable to log into the admin interface

2008-07-07 Thread Fernando Rodríguez
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

Re: Still unable to log into the admin interface

2008-07-07 Thread Karen Tracey
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

Re: Still unable to log into the admin interface

2008-07-07 Thread urukay
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

Re: Still unable to log into the admin interface

2008-07-07 Thread Fernando Rodríguez
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

Re: Still unable to log into the admin interface

2008-07-07 Thread urukay
.is_staff: > > AttributeError at /admin/ > 'WSGIRequest' object has no attribute 'user' > > ------- > > What am I STILL doing wrong? > > Thanks

Still unable to log into the admin interface

2008-07-07 Thread Fernando Rodríguez
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