P
P
pEaa2022-01-19 15:43:31
Django
pEaa, 2022-01-19 15:43:31

How to get data from inline blocks on form change in django admin?

There is a certain functionality that I would like to hang on specific cases of changing inline blocks in the model. To do this, you need to check what data has changed / is trying to be added to inline. When checking / saving a form in the admin panel, can I get the current data from inline blocks?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2022-01-19
@bacon

Almost all the work with the admin is described on one page of the django docs, just study it carefully, maybe https://docs.djangoproject.com/en/4.0/ref/contrib/... or this is https://docs.djangoproject. com/en/4.0/ref/contrib/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question