title: Decorating the class or the dispatch() method?
body: <p>Yesterday I had a <a href="https://stackoverflow.com/questions/46250302/clumsy-repeat-myself-django-permission-check/46251377#46251377">Stackoverflow question about putting a permissioning check on a class-based-view</a>.  The solution seem(s) to be incorporating a <code>PermissionDeniedMixin</code>.  It also looks like I could try <a href="https://stackoverflow.com/a/27825209/3556757"><code>UserPassesTestMixin</code> from Django-braces</a>.</p>
  
  <p>This made sense, but I was doing some background reading on the <code>dispatch()</code> method and stumbled onto <a href="https://docs.djangoproject.com/en/1.11/topics/class-based-views/intro/#decorating-the-class" rel="nofollow noreferrer">this part of the documentation</a>:</p>
  
  <blockquote>
    <p>To decorate every instance of a class-based view, you need to decorate
    the class definition itself. To do this you apply the decorator to the
    dispatch() method of the class.</p>
  </blockquote>
  
  <p>Why would I need or choose to decorate the instances with the permission mixins rather than the class itself?  </p>