djangosnippets.org: Latest snippets tagged with 'acl'https://djangosnippets.org/tags/acl/2010-01-06T04:03:05.133802-06:00Anonymous required decorator
2010-01-06T04:03:05.133802-06:00Motaneluhttps://djangosnippets.org/snippets/1849/<p>A decorator that allows the programmer to restrict access to some views only to non logged-in users. For instance, if an user in logged in, it should be denied access to views like /accounts/register or /accounts/login.</p>
Freely redistributable