- Split
views.pyout into multiple files since it was approaching 1000 LoC. SetHeadlineMixinnow acceptsheadlinewithugettext_lazy()-wrapped strings.- Fixed a bug where
JSONResponseMixinwould override thecontent_typeof Django'sTemplateViewin Django 1.6. - Fixed bug in
PermissionRequiredMixinwhere ifPermissionRequiredMixin.no_permissions_failreturned a false-y value, the user lacking the permission would pass instead of being denied access. - Added doc for how to contribute.
- Added
MessageMixinto allow easier access to Django'scontrib.messagesmessages.FormValidMessageMixinandFormInvalidMessageMixinwere updated to use it. - Fixed bug in
CanonicalSlugDetailMixinto allow it to use custom URL kwargs. - Fixed bug in
GroupRequiredMixinwhere superusers were blocked by lack of group memberships. - Fixed bug in
GroupRequiredMixinwhich now correctly checks for group membership against a list. - Added new
StaticContextMixinmixin which lets you pass instatic_contextas a property of the view. - Added new
AnonymousRequiredMixinwhich redirects authenticated users to another view. - Added new
AllVerbsMixinwhich allows a single method to response to all HTTP verbs. - Provided
JSONRequestResponseMixinas a mirror ofJsonRequestResponseMixinbecause we're not PHP. FormValidMessageMixin,FormInvalidMessageMixin, andFormMessagesMixinall allowugettext_lazy-wrapped strings.- Extended
PermissionRequiredMixinandMultiplePermissionsRequiredMixinto accept django-guardian-style custom/object permissions.