Don't use RequestContext with render_to_string

Review Request #12054 — Created Feb. 12, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

Django no longer allows passing in a RequestContext to the
render_to_string method. For the most part we had already migrated to
passing in plain dicts, but we had several template tags that were
trying to use it with the context that they received. In this case, we
can flatten that context to get a plain dict.

Ran unit tests.

Commits

Files

    Loading...