diff options
| author | Ian Foote | 2014-01-31 09:12:45 +0000 |
|---|---|---|
| committer | Ian Foote | 2014-01-31 09:12:45 +0000 |
| commit | 0043f30cab86f50b61ce265635d503c8212848c4 (patch) | |
| tree | 3e153e067fc2f15540e2516ae903624e67d447f8 /setup.py | |
| parent | 78e4468f0367cc2a3a5cc6f3570a791ad67c90d9 (diff) | |
| download | django-rest-framework-0043f30cab86f50b61ce265635d503c8212848c4.tar.bz2 | |
Use bytes BOUNDARY on django < 1.5
Django's encode_multipart was updated in django 1.5 to work internally
with unicode and convert to bytes.
In django >= 1.5 we therefore need to pass the BOUNDARY as unicode. In
django < 1.5 we still need to pass it as bytes.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
