diff options
| author | J. Paul Reed | 2013-04-02 01:41:31 -0700 |
|---|---|---|
| committer | J. Paul Reed | 2013-04-02 01:41:40 -0700 |
| commit | 889558365bb3947ab77f47207381d5ff6316fa4f (patch) | |
| tree | 3aac2b81c7bb98dca1a51e02ca5e4800986bf736 /setup.py | |
| parent | 5ed70324273d8093335f21155975267b22a641d2 (diff) | |
| download | django-rest-framework-889558365bb3947ab77f47207381d5ff6316fa4f.tar.bz2 | |
Don't have the ModelSerializer trust deserialized objects to not have redefine bool()ean-ness.
If the model we're using the ModelSerializer for has redefined methods that act as a boolean (__bool__ or __len__), it may not return the object even though it is_valid(), and should.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
