Is there a way to display html data on a specific page in the django administrator feature?
For example, let\'s say I have a programming-language Model, and for each
Override admin change_form.html
for your model with
{% extends "admin/change_form.html" %}
{% block after_related_objects %}
{# put your html here #}
{% endblock %}
(Django 1.8 note) Make sure you have specified 'DIRS' key in TEMPLATES dict (settings.py)
'DIRS': [
os.path.join(BASE_DIR, 'templates'),
],
templates/
----admin/
--------app_name/
------------modelname/
----------------change_form.html