After upgrading from django 1.3 to django 1.5 I started to see these DeprecationWarnings
during the test run:
path_to_virtualenv/lib/python2.6/site-packages/django/http/request.py:193: DeprecationWarning: HttpRequest.raw_post_data has been deprecated. Use HttpRequest.body instead.
I've searched inside the project for raw_post_data
and found nothing. So it was not directly used in the project. Then, I've manually went through INSTALLED_APPS
and found that raven
module still uses raw_post_data
and it was the cause, but..
Is it possible to see the cause of DeprecationWarning
during the test run? How to make these warnings more verbose?