Closed Lioscro closed 2 years ago
Thanks for catching this -- you can actually just do the fix for the latest django, this is our current support of the next release: 'Django>=3,<4 ;python_version>="3.7"',
If its possible a unit test would be great to catch this in the future, but no worries if that is a tall ask as its already not covered.
Tests are in. Think I'll leave the version check for now since it can't hurt.
The
context_instance
kwarg torender_to_string
has been deprecated since Django 1.8. Added a check for the Django version to call the function with correct arguments.