| Name |
Last commit
|
Last update |
|---|---|---|
| djangorestframework | ||
| docs | ||
| .gitignore | ||
| .travis.yml | ||
| MANIFEST.in | ||
| README.md | ||
| mkdocs.py | ||
| optionals.txt | ||
| requirements.txt | ||
| setup.py |
In the latest Django master code, RequestFactory.put behaves fundamentally differently than it did pre-1.5. By default, it expects an octet string as opposed to a dictionary that it will encode like a multipart form. So, for 1.5 and on, we have to be explicit about the multipart type and pre-encode the data. However, pre-1.5 Django expects a dictionary if the content type is multipart. So, the cleanest thing to do is explicitly handle the versions independently.
| Name |
Last commit
|
Last update |
|---|---|---|
| djangorestframework | Loading commit data... | |
| docs | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| MANIFEST.in | Loading commit data... | |
| README.md | Loading commit data... | |
| mkdocs.py | Loading commit data... | |
| optionals.txt | Loading commit data... | |
| requirements.txt | Loading commit data... | |
| setup.py | Loading commit data... |