Python tracebacks can sometimes be cryptic, and difficult to understand. And
we've all had our fair share of times when we've seen a traceback and
thought "wtf?".

This not one of them.

In fact, in this rare example, the traceback is not only telling you what is
wrong, but it is also telling you how to fix the problem.

Please refer to https://code.djangoproject.com/wiki/UsingTheMailingList

Cal

On Sat, Jul 9, 2011 at 1:29 PM, pankaj <kamalp.sha...@gmail.com> wrote:

> Hi,
>
> Can someone please help to fix this issue? Please let me know if you
> need any more info.
>
> Traceback (most recent call last):
>
>  File "/ot/w/u/django-s/django/core/handlers/base.py", line 80, in
> get_response
>    response = middleware_method(request)
>
>  File "/ot/w/u/django-s/django/contrib/auth/middleware.py", line 89,
> in process_request
>    assert hasattr(request, 'user'), error
>
> AssertionError: The Django RemoteUserAuth middleware requires
> authentication middleware to be installed. Edit your
> MIDDLEWARE_CLASSES setting to insert
> 'django.contrib.auth.middleware.AuthenticationMiddleware' *before* the
> RemoteUserMiddleware class.
>
> Thanks,
>
> --
> 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
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to