title: Django: detect admin login in view or template
body: <p>How can I detect, from views or template file, if my admin user is logged in or not? For example, use case for my site:</p>
  
  <ol>
  <li>User opens <code>/admin/</code>, enter correct credentials</li>
  <li>Then user open some page, for example <code>/page/</code> and there are "Add" and "Delete" buttons</li>
  <li>User opens <code>/admin/</code> and click "Log out"</li>
  <li><code>/page/</code> -> there are no "Add" and "Delete" buttons</li>
  </ol>
  
  <p>Django version 1.4</p>