Am having a list of items, and it has a top button called ADD CUSTOMER PROFILE, so what I want to do is connect the same button at the top of the details page (Where I edit the data) in Django admin page after clicking on any of the items, below is the screenshots :
Listing of items page :
Details page :
The button is located in the templates/admin/items/change_list.html :
{% extends "admin/change_list.html" %}
{% load i18n static admin_list %}
{% block object-tools-items %}
<div id="react-create-customer-profile"></div>
{% endblock %}
Then, the