[Answered ]-Adding views to the Django admin


You just configure your view as usual (urls.py -> myapp.views) and then extend the admin base template:

{% extends "admin/base_site.html" %}
{% block content %}
    My content looking like the rest of the admin app.
{% endblock %}


Here is a small intro http://www.djangobook.com/en/1.0/chapter17/, I think where is new version, but I think where is nothing changed in concept of extending admin pages.

Leave a comment