In Django 1.8, permissions to class-based views had to be applied by decorating the dispatch method. This is what is currently done in our code.
In Django 1.9, UserPassesTestMixin was introduced, which appears a bit more straightforward to me and is mentioned in the offical docs from Django 1.10 on, while doc on decorating dispatch was removed.
If there are no side effects, we could update our Mixins accordingly.
In Django 1.8, permissions to class-based views had to be applied by decorating the dispatch method. This is what is currently done in our code. In Django 1.9, UserPassesTestMixin was introduced, which appears a bit more straightforward to me and is mentioned in the offical docs from Django 1.10 on, while doc on decorating dispatch was removed.
If there are no side effects, we could update our Mixins accordingly.