Wednesday, June 2, 2010

Re: AJAX request does not seem to have request.user

On Jun 2, 10:14 am, Carl Nobile <carl.nob...@gmail.com> wrote:
>
> Could the new code not work with a class. I'm still looking into this
> and may discover the answer myself, but if anybody knows or has an
> idea I'd be much appreciative.
>
> ~Carl

Carl, those decorators no longer work on class methods without some re-
jiggering. See the release notes:

http://docs.djangoproject.com/en/dev/releases/1.2/#user-passes-test-login-required-and-permission-required

BN

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

No comments:

Post a Comment