title: How can I create custom page for django admin?
body: <p>I want to create custom page for admin panel without model. For first i copy index.html to project folder:</p>
  
  <pre><code>mysite/
      templates/
          admin/
              index.html
  </code></pre>
  
  <p>Then add to apps block my code:</p>
  
  <pre><code>&lt;div class="module"&gt;
      &lt;table summary="{% blocktrans with name="preferences" %}Models available in the preferences application.{% endblocktrans %}"&gt;
          &lt;caption&gt;&lt;a href="preferences" class="section"&gt;{% blocktrans with name="preferences" %}Preferences{% endblocktrans %}&lt;/a&gt;&lt;/caption&gt;
              &lt;tr&gt;
                  &lt;th scope="row"&gt;&lt;a href="preferences"&gt;Preferences&lt;/a&gt;&lt;/th&gt;
                  &lt;td&gt;&lt;a href="preferences" class="changelink"&gt;{% trans 'Change' %}&lt;/a&gt;&lt;/td&gt;
              &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This works good, then I create new page /templates/admin/preferences/preferences.html and
  add to urls.py:</p>
  
  <pre><code>url(r'^admin/preferences/$', TemplateView.as_view(template_name='admin/preferences/preferences.html')),
  </code></pre>
  
  <p>And add code to preferences.html:</p>
  
  <pre><code>{% extends "admin/base_site.html" %}
  {% block title %}Test page{% endblock %}
  </code></pre>
  
  <p>Run it and see message with error "The requested admin page does not exist.". What I do wrong?</p>