Moving the response after a popup submission to a template so that it can be overwritten.
|Reported by:||jimmylam@…||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 2 years ago by claudep
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted