title: Block url for users not in staff. Django
body: <p>I would like to block some urls for users they don't have staff status.</p>
  
  <p>Now I do it checking in my code in each def </p>
  
  <pre><code>if not request.user.is_staff:
      ...
  </code></pre>
  
  <p>But I have so many methods and all of them are under a /app/ path, so I thought perhaps exists a way to block for non staff users the access to those methods.</p>
  
  <p>Thanks.</p>