aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMalcolm Box2013-11-21 20:09:48 +0000
committerMalcolm Box2013-11-21 20:09:48 +0000
commit263281d71d0425d7bb9b4ebbdf1811ef637ee60a (patch)
tree9c14f0bc14a2229b9aadd3c20a9131a476d07cfd /setup.py
parent134ffd96a14559f3a1ff4e5210c8718fb4bff9b1 (diff)
downloaddjango-rest-framework-263281d71d0425d7bb9b4ebbdf1811ef637ee60a.tar.bz2
Fix issue #1231: JSONEncoder doesn't handle dict-like objects
Check for __getitem__ and then attempt to convert to a dict. The check for __getitem__ is there as there's no universal way to check if an object is a mapping type, but this is a likely proxy
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions