#3784: No (obvious) way to restrict an entire site to logged in users -------------------------------+-------------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: jacob Status: new | Component: Uncategorized Version: 0.95 | Keywords: Stage: Unreviewed | Has_patch: 0 -------------------------------+-------------------------------------------- I have a webapp which I want to restrict access to logged in users only. At the moment my custom views have the @login_required decorator, and I've had to make wrappers for the generic views so that I can decorate those too. The problem is that as I add views I need to remember to add the decorator, or there is a security hole. Can there be a trivial way to mark an entire application (or uri space, or something) as login_required?
-- Ticket URL: <http://code.djangoproject.com/ticket/3784> 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 -~----------~----~----~----~------~----~------~--~---
