django1/django/contrib
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
..
admin Fixed #24968 -- Removed bad horizontal scrollbar appearing on admin changelist page. 2015-06-11 11:56:48 -04:00
admindocs Fixed #24979 -- Removed usage of inspect.getargspec(). 2015-06-15 13:43:22 -04:00
auth Fixed #24914 -- Added authentication mixins for CBVs 2015-06-17 23:19:10 +02:00
contenttypes Updated translations from Transifex 2015-04-30 14:29:08 +02:00
flatpages Removed unnecessary arguments in .get method calls 2015-05-13 20:51:18 +02:00
gis Fixed #24979 -- Removed usage of inspect.getargspec(). 2015-06-15 13:43:22 -04:00
humanize Updated translations from Transifex 2015-04-30 14:29:08 +02:00
messages Removed translations from contrib.messages 2015-03-18 09:30:20 +01:00
postgres Fixed #24894 -- Added contrib.postgres.functions.TransactionNow 2015-06-15 14:03:17 -04:00
redirects Updated translations from Transifex 2015-04-30 14:29:08 +02:00
sessions Fixed #24915 -- Added stricter session key validation 2015-06-06 20:04:20 -04:00
sitemaps Removed unnecessary arguments in .get method calls 2015-05-13 20:51:18 +02:00
sites Fixed #24774 -- Made contrib.site's Site.domain field unique 2015-05-16 08:43:42 -04:00
staticfiles Fixed #24890 -- Added warning to collectstatic when static files have clashing names 2015-06-13 20:34:24 -04:00
syndication Fixed #24728 -- Renamed mime_type to content_type for syndication feeds 2015-06-04 13:24:18 -04:00
webdesign Moved contrib.webdesign tests out of contrib. 2015-02-11 12:30:07 -05:00
__init__.py