[Django]-Execute python command in django admin panel

3👍

Write a custom admin view featuring a form, and when the form is submitted in the view call django.core.management.call_command

Remark regarding using a form: As your request will change things at the server-side, a post must be preferred over a get.

👤shanyu

Leave a comment