On 5/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am trying the lastest .95 django but it fails when calling the admin
> interface with the message:
>
>
> WSGIRequest' object has no attribute 'user'
>
>
> it has an attribute USER though
> looking at the code in core/handlers/wsgi.py and comparing with the .91
> it looks like a bunch of code related to user has been moved somewhere
> else, hence the error maybe ?

It has.
http://code.djangoproject.com/wiki/RemovingTheMagic#request.userisnowsetviamiddleware

> accessorily the new settings.py created by startapp does not reflect
> entirely the .95 docs
> for instance installed_apps is empty and also this line in middlewares
> points to something not existing anymore
>
>     "django.middleware.sessions.SessionMiddleware",

I think something is wrong with your PYTHONPATH. It's probably got an
older version of django on it somehow. startapp has worked correctly
for a lot of people.

Joseph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to