[Answered ]-RemovedInDjango110Warning: The context_instance argument of render_to_string is deprecated

2👍

Yes, the “right” way to fix it would be to update it. According to the documentation, they recommend using render()

Deprecated since version 1.8:
The context_instance argument is deprecated. Use the render() function instead which always makes RequestContext available.

If you do want to suppress this warning (highly unrecommended), you can use the SILENCE_SYSTEM_CHECK setting.

More on the system check can be found here

Leave a comment