Answer the question
In order to leave comments, you need to log in
What are the differences in the display of the admin panel depending on the OS?
Good afternoon comrades.
I accidentally ran into one moment, which probably always existed, but noticed only now and the search did not give an answer.
I'm changing my admin. To do this, I made the following folder structure in the application:
- Application - templates - admin - application name - model name - change_list.html
{% extends "admin/change_list.html" %}
{% load admin_list i18n admin_urls %}
{% block object-tools %}
<form action="import/" method="post">
{% csrf_token %}
<input type="submit" name="zip" value="Загрузить начальные данные"/>
</form>
{{ block.super }}
{% endblock %}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question