fix: provide settings to render_to_string for IPR notification emails#4357
Conversation
|
Something more subtle is wrong here. |
|
So, this is because we're not passing a Request (with its associated RequestContext) to render_to_string, so a simple Context is being used instead, and the context processor linked above doesn't operate on that. This fix is certainly quicker than reworking the plumbing such that these functions get a request to work with. But the PR still needs an updated test. I can help build one. |
|
If you get something started, I can pick it up. |
Fixes #4340