#3697: ability to mark entire directory (and subdirs) as login_required/is_staff
-----------------------------------------------+----------------------------
Reporter: Simon G. <[EMAIL PROTECTED]> | Owner: adrian
Status: new | Component: Core
framework
Version: SVN | Resolution:
Keywords: pie-in-the-sky-feature-requests | Stage: Design
decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------------------+----------------------------
Comment (by ubernostrum):
Actually, I think the right solution here is middleware, not URL
configuration (since it's something which needs to apply to every
request); Jared Kuolt wrote a middleware which does that, and posted it
here: http://superjared.com/entry/requiring-login-entire-django-powered-
site/
--
Ticket URL: <http://code.djangoproject.com/ticket/3697#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---