[Answer]-Use request / user in django admin template

1👍

If you read the code for the submit_row templatetag (the one that renders submit_line.html), you’ll notice that the original context is not passed to the submit_line.html template.

I’m afraid your best bet will be to replace the submit_row templatetag with something of your own, and override the admin/change_form.html template to call your own templatetag instead.

Leave a comment