repr(request) is unavailable if model instance stored in request.META
|Reported by:||norn||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I've found that repr(request) is failed when my middleware stores some model instance in request.META.
Probably request.META is not the best way to sore some custom information, but I find it very useful in my case.
I am not sure is it a bug or design decision, so somebody who knows django.core.handlers.wsgi.WSGIRequest well please approve or reject.
Django 1.0.2 final, Python 2.4, running via mod_python, Apache/2.2.11