summaryrefslogtreecommitdiff
path: root/django/views/decorators/auth.py
AgeCommit message (Collapse)Author
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26Fixed #903 -- Added login_url argument to user_passes_test view decorator. ↵Adrian Holovaty
Didn't add it to login_required decorator because that would turn login_required into a callable decorator, which would break backwards compatibility. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23Fixed #684 -- Fixed login_required and user_passes_test decorators. Thanks, ↵Adrian Holovaty
rjwittams git-svn-id: http://code.djangoproject.com/svn/django/trunk@1004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22Added django.views.decorators.auth.user_passes_test, which is a more generic ↵Adrian Holovaty
hook into authentication based on a test. Refactored login_required to use user_passes_test git-svn-id: http://code.djangoproject.com/svn/django/trunk@988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13Imported Django from private SVN repository (created from r. 8825)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37