Closed NotSqrt closed 7 years ago
Hi,
The search_results and search_result_item template tags use the context to call render_to_string, which would prefer a dict instead of a RequestContext ...
search_results
search_result_item
render_to_string
It's possible to call context.flatten() to get a dict.
context.flatten()
Thanks !
I'll take a pull request for this, or look into it myself when Django 1.11 lands.
Hi,
The
search_results
andsearch_result_item
template tags use the context to callrender_to_string
, which would prefer a dict instead of a RequestContext ...It's possible to call
context.flatten()
to get a dict.Thanks !