aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJ. Paul Reed2013-04-02 01:41:31 -0700
committerJ. Paul Reed2013-04-02 01:41:40 -0700
commit889558365bb3947ab77f47207381d5ff6316fa4f (patch)
tree3aac2b81c7bb98dca1a51e02ca5e4800986bf736 /setup.py
parent5ed70324273d8093335f21155975267b22a641d2 (diff)
downloaddjango-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