django/docs/topics/auth
Markus Holtermann e5cb4e1411 Fixed #24914 -- Added authentication mixins for CBVs
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.
2015-06-17 23:19:10 +02:00
..
customizing.txt Fixed #24910 -- Added createsuperuser support for non-unique USERNAME_FIELDs 2015-06-06 09:33:02 -04:00
default.txt Fixed #24914 -- Added authentication mixins for CBVs 2015-06-17 23:19:10 +02:00
index.txt Removed sentence from docs about migrate prompting to add a superuser. 2014-08-31 12:30:50 -04:00
passwords.txt Refs #16860 -- Minor edits and fixes to password validation. 2015-06-10 07:41:01 -04:00