1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00
django/docs/topics/class-based-views
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
..
generic-display.txt Deprecated TEMPLATE_LOADERS. 2014-12-28 17:02:30 +01:00
generic-editing.txt
index.txt
intro.txt Fixed #24914 -- Added authentication mixins for CBVs 2015-06-17 23:19:10 +02:00
mixins.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00