Moving the response after a popup submission to a template so that it can be overwritten.
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently, after a popup submission (e.g. adding another User thur the "+" link in django admin), the response is
# escape() calls force_unicode.
Can this be changed so that it is loaded from a template file? And so, the template file can then be overwritten.
'document.domain = 'mydomain.com' in the templates, including the admin templates.
However, the above response can't be modified or overwritten because it's part of the code within the response_add method of ModelAdmin.
Change History (4)
comment:1 Changed 4 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|