Hi all,
I came across the need of modifying the submit row functionality in the django admin and I found out a small issue which prevents me from modifying the template without rewriting (duplicating) also the templatetag entirely.
If you take a look at the
code of submit_row templatetag, you will notice the original view context is not passed entirely to the return statement. A new ctx dictionary is created and filled only with a smaller subset of key/value pairs.
I took a quick look at other template tags and I noticed they return the entire context and not a stripped version of it.
I would prefer submit_row to behave in the same way as the other templatetags so I wouldn't have to duplicate its code to add new context values to it.
If there's consensus on this issue I can create a ticket and send a pull request, let me know.
Federico