Test framework doesn't install _(), maybe?
|Reported by:||dave AT avaragado.org||Owned by:||Adrian Holovaty|
|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 10 years ago by
|Summary:||django.contrib.auth.views.logout uses _ without importing → Test framework doesn't install _(), maybe?|