summaryrefslogtreecommitdiff
path: root/django/contrib/auth/decorators.py
AgeCommit message (Expand)Author
2026-01-31Refs #34118 -- Removed asgiref coroutine detection shims.Jacob Walls
2024-10-17Refs #35844 -- Used asgiref.sync.iscoroutinefunction() instead of deprecated ...Mariusz Felisiak
2024-10-07Fixed #35303 -- Implemented async auth backends and utils.Jon Janzen
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
2024-05-22Fixed #31405 -- Added LoginRequiredMiddleware.Hisham Mahmood
2024-03-07Fixed #35030 -- Made django.contrib.auth decorators to work with async functi...Dingning
2022-05-25Renamed wrapped functions to wrapper.Aymeric Augustin
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-01-21Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.Tim Graham
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2015-06-08Fixed #24929 -- Allowed permission_required decorator to take any iterableRaphael Michel
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-10Fixed #24097 -- Prevented AttributeError in redirect_to_loginClaude Paroz
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
2013-11-28Fixed E125 pep8 warningsChristopher Medrela
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-08-10Fixed #20828 -- Allowed @permission_required to take a list of permissionsersran9
2012-09-09Fix Python 3 test failure introduced in a78dd109.Carl Meyer
2012-09-08Fixed #15552 -- LOGIN_URL and LOGIN_REDIRECT_URL can take URLpattern names.Carl Meyer
2012-08-18[py3] Avoided passing a lazy string to urlparse.Aymeric Augustin
2012-07-22[py3] Updated urllib/urllib2/urlparse imports.Aymeric Augustin
2011-08-12Fixed #4617 -- Added `raise_exception` option to `permission_required` decora...Jannis Leidel
2011-03-28Removed a bunch of Python 2.4 workarounds now that we don't support it. Refs ...Adrian Holovaty
2010-11-27Fixes #11025 -- ability to specify LOGIN_URL as full qualified absolute URL.Chris Beaven
2010-09-10Added login_url argument to login_required decorator. Thanks mhlakhani and er...Jannis Leidel
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds....Russell Keith-Magee
2010-04-09Fixed #13304 -- Updated auth decorators so they can be used with callable cla...Russell Keith-Magee
2010-02-09Fixed #12804 - regression with decorating admin views.Luke Plant
2009-09-21Rewrote user_passes_test to use auto_adapt_to_methods, removing the need for ...Luke Plant
2009-04-01Fixed #9474: user_passes_test may now be applied multiple times.Jacob Kaplan-Moss
2008-07-22Fixed #7847 -- Removed a whole bunch of unused imports from throughout the co...Adrian Holovaty
2008-02-25Fixed #5701 -- Fixed decorators to take the name, attributes, and docstring o...Gary Wilson Jr
2007-11-09Fixed bug in /admin/doc/views/ caused by [6658]Luke Plant
2007-11-07Fixed #4376 -- login_required now works with bound methods. Thanks, Steven B...Luke Plant
2007-09-14Fixed #5308 -- Redirect from pages that need login and have Unicode URL no lo...Adrian Holovaty
2007-09-14Fixed #5394 -- REDIRECT_FIELD_NAME is now configurable. Thanks, Petr Marhoun,...Adrian Holovaty
2007-04-25Fixed #3185 -- Made values for login, logout and post-login redirect URLsMalcolm Tredinnick
2006-09-25Fixed typos and improved documentation for permission_required decorator addi...Adrian Holovaty
2006-09-22Fixed #2629 -- Added a permission_required decorator toMalcolm Tredinnick
2006-07-28Removed bug from [3461] -- __name__ is not assignableAdrian Holovaty
2006-07-27Fixed #2388 -- login_required decorator now preserves docstring and name of d...Adrian Holovaty
2006-07-19Fixed #2332 -- Introduced is_authenticated() method on User and AnonymousUser...Malcolm Tredinnick
2006-05-22Fixed #849 -- Improved login_required view decorator to save query-string par...Adrian Holovaty
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompa...Adrian Holovaty