mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
e5cb4e1411
Added the mixins LoginRequiredMixin, PermissionRequiredMixin and UserPassesTestMixin to contrib.auth as counterparts to the respective view decorators. The authentication mixins UserPassesTestMixin, LoginRequiredMixin and PermissionRequiredMixin have been inspired by django-braces <https://github.com/brack3t/django-braces/> Thanks Raphael Michel for the initial patch, tests and docs on the PR and Ana Balica, Kenneth Love, Marc Tamlyn, and Tim Graham for the review. |
||
---|---|---|
.. | ||
generic-display.txt | ||
generic-editing.txt | ||
index.txt | ||
intro.txt | ||
mixins.txt |