summaryrefslogtreecommitdiff
path: root/django/utils/module_loading.py
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2015-06-11 18:08:48 +0200
committerMarkus Holtermann <info@markusholtermann.eu>2015-06-17 23:19:10 +0200
commite5cb4e14118f3a508e3bc00ee7cd50bb0f18a61d (patch)
treecc079646b4db9f528366c59d67768584387531cd /django/utils/module_loading.py
parent2f615b10e6330d27dccbd770a4628200044acf70 (diff)
downloaddjango-e5cb4e14118f3a508e3bc00ee7cd50bb0f18a61d.tar.gz
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.
Diffstat (limited to 'django/utils/module_loading.py')
0 files changed, 0 insertions, 0 deletions