Test framework doesn't install _(), maybe?
|Reported by:||dave AT avaragado.org||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The call to render_to_response includes the i18n magic _ function, but it hasn't been imported. Result: grief, in conjunction with the new test client at least (it gives me a 500 response).
To fix: import _ from the usual place. I trust a patch submission for this change is not required :-)
Change History (3)
comment:1 Changed 9 years ago by adrian
- Summary changed from django.contrib.auth.views.logout uses _ without importing to Test framework doesn't install _(), maybe?