Wednesday, July 17, 2013

Re: Every view requires authentication

On Wed, Jul 17, 2013 at 4:24 PM, Arnold Krille <arnold@arnoldarts.de> wrote:
Still interesting that you need authentication while not needing any
authorization...

 Oh, I see what you're saying. The login_required does not need to be added explicitly, because it is added implicitly by the authorization check. Yeah that makes sense. As every page will require some different authorization anyway, there is no need for extra middleware. Is that right?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment