django1/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 Fixed #21753 -- Raised exception when both `form_class` and `fields` are specified. 2014-11-21 14:23:17 -05:00
index.txt Fixed #22218 -- Deprecated django.conf.urls.patterns. 2014-04-03 07:28:10 -04:00
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