Fixed #21740 -- Allowed test client data to be an empty string

This fixes a regression introduced by 2a31d00933.
Thanks tony-zhu for the report.
This commit is contained in:
Claude Paroz 2014-10-20 22:32:43 +02:00
parent edcb33c92e
commit f0bb3c98cc
3 changed files with 19 additions and 3 deletions

View file

@ -129,3 +129,6 @@ Bugfixes
* Fixed :djadmin:`makemigrations` to detect changes to
:attr:`Meta.db_table <django.db.models.Options.db_table>` (:ticket:`23629`).
* Fixed a regression when feeding the Django test client with an empty data
string (:ticket:`21740`).