title: How to add custom view to django admin interface?
body: <p>My django admin interface looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/vwdtn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vwdtn.png" alt="django-admin"></a></p>
  
  <p>Now I would like to add a view which does not correspond to a model.</p>
  
  <p>I could overwrite the template of above page and add a custom link. But I think this would look ugly.</p>
  
  <p>Example for overwriting <code>admin/index.html</code>:</p>
  
  <pre><code>{% extends "admin/index.html" %}
  
  {% block content %}
  
  {{ block.super }}
  &lt;div class="app-sonstiges module"&gt;
     ....
  &lt;/div&gt;
  {% endblock %}
  </code></pre>
  
  <p>But maybe there is an official way to do add a custom view to the admin interface?</p>
  
  <p>In my case I want to provide a form which can execute <code>tcptraceroute</code> to a remote server. The admin of my app needs this.</p>
  
  <p>I used the same html tags. Now the link "tcptraceroute" looks nice, but unfortunately the messages moved down:</p>
  
  <p><a href="https://i.stack.imgur.com/dOxvm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dOxvm.png" alt="newest-actions-moved-down"></a></p>
  
  <p>Is there a way to get a custom part like "Sontiges ... tcptraceroute" like in the screenshot, without moving the latest actions down?</p>
  
  <p>Here is how the html structure looks like. My <code>&lt;div class="app-sonstiges"&gt;</code> is below content-main:</p>
  
  <p><a href="https://i.stack.imgur.com/ik112.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ik112.png" alt="my-part-after-content-main"></a></p>