`django.contrib.auth` tests fail with non english localisation
|Reported by:||rabio||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When I run all tests on my project with
manage.py test many tests from contrib.auth failed due to not expecting hardcoded english strings in rendered context instead of localised texts.
Attached patch solved that problem for me.
I'm using there a kind of a poor man escaping filter. It probably should be substituted with one from template framework, though.