summaryrefslogtreecommitdiff
path: root/django/contrib/auth/context_processors.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-05-28Refs #24121 -- Added __repr__() to PermWrapper.abhiabhi94
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-01-19Refs #23919 -- Removed __nonzero__() methods (for Python 2).Simon Charette
Thanks Tim for the review.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2013-10-31Started attackign the next flake8 violationAlex Gaynor
2013-02-05Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.Simon Charette
2012-11-03Fixed #18963 -- Used a subclass-friendly patternAymeric Augustin
for Python 2 object model compatibility methods.
2012-09-30Fixed #18991 -- Allowed permission lookup by "if in"Anssi Kääriäinen
When looking permissions from PermWrapper it is now possible to use {% if "someapp.someperm" in perms %} instead of {% if perms.someapp.someperm %}.
2012-09-27Fixed #18979 -- Avoid endless loop caused by "val in PermLookupDict"Anssi Kääriäinen
Fixed by defining __iter__ which raises TypeError. This was done to PermWrapper earlier.
2012-08-08[py3] Replaced __nonzero__ by __bool__Claude Paroz
Of course, __nonzero__ alias has been kept for Python 2 compatibility.
2011-05-31Cleaned up how ``request.user`` is set, this is a follow up to [16297]. ↵Alex Gaynor
Thanks for the review Luke. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-07Fixed #15757 - removed remaining instances of get_and_delete_messagesLuke Plant
Thanks to void for the report, and julien for the bulk of the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-23Fixed #15299 -- Started the process of migrating the auth context processor ↵Russell Keith-Magee
support classes into the auth context processor module. Thanks to shailesh for the report, and v1v3kn for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21Fixed #12066 - Moved auth context processor from core to the auth app. ↵Jannis Leidel
Thanks, Rob Hudson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12466 bcc190cf-cafb-0310-a4f2-bffc1f526a37