Thanks for that. I wrote my own middleware for this, but the snippet
is better-implemented than mine.
Shawn
--
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
El 17/03/11 09:30, galgal escribió:
I need to make an application in which all views require login. Is
there any good way to do that and not to use @login_required()
decorator with all methods?
Yes there is: http://djangosnippets.org/snippets/1220/
--
Gonzalo Delgado<gonzalo...@gmail.
I need to make an application in which all views require login. Is there any
good way to do that and not to use @login_required() decorator with all
methods?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
3 matches
Mail list logo