B
B
bQ12019-08-12 15:54:33
Django
bQ1, 2019-08-12 15:54:33

How to get edit object in change_form.html template when overriding django admin?

How to get edit object in change_form.html template when overriding django admin?
UPDATE:
Found a solution: {{ original }}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2019-08-12
@bQ1

As an option, you connect DDT ( https://github.com/jazzband/django-debug-toolbar), go to the desired page and look at all the variables passed to it in the template context

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question