django active_login_required decorator
November 29, 2008 | In: development, django, python
Here is a little hack I made to the auth.login_required decorator that checks to see if the user account has the is_active flag set as well as being logged in. Nothing earth shattering here but I find it useful. If you look at the original login_required...











Latest comments