django1/django
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
..
apps Fixed #24776 -- Improved apps.get_app_config() error message on fully-qualified package names. 2015-05-22 11:08:25 -04:00
bin Removed bin/unique-messages.py 2015-02-06 08:47:38 -05:00
conf Fixed #24971 -- Made startapp generate an apps.py 2015-06-16 07:08:04 -04:00
contrib Fixed #24914 -- Added authentication mixins for CBVs 2015-06-17 23:19:10 +02:00
core Fixed #24829 -- Allowed use of TemplateResponse in view error handlers. 2015-06-17 17:11:50 -04:00
db Sorted reduce methods in migration optimizer 2015-06-16 00:46:04 +02:00
dispatch Fixed #24979 -- Removed usage of inspect.getargspec(). 2015-06-15 13:43:22 -04:00
forms Fixed #24948 -- Fixed crash when uploading bitmap images in forms.ImageField 2015-06-16 14:37:58 -04:00
http Refs #23763 -- Fixed Python 3.5 PendingDeprecationWarning in LazyStream. 2015-06-17 06:55:16 -04:00
middleware Removed unnecessary arguments in .get method calls 2015-05-13 20:51:18 +02:00
template Fixed #24979 -- Removed usage of inspect.getargspec(). 2015-06-15 13:43:22 -04:00
templatetags Fixed #24230 -- Added translated language name for i18n template tag/filter. 2015-06-02 16:04:01 -04:00
test Refs #24965 -- Added changes from accidentally reverted file for last commit. 2015-06-12 18:29:26 -04:00
utils Fixed #24979 -- Removed usage of inspect.getargspec(). 2015-06-15 13:43:22 -04:00
views Ref #23643 -- Added plain text report of exception chain. 2015-06-01 08:23:54 -04:00
__init__.py Bumped version; master is now 1.9 pre-alpha. 2015-01-16 17:04:35 -05:00
shortcuts.py Fed tuples to startswith when appropriate 2015-03-13 21:58:28 +01:00