Import force_bytes on django >= 1.5
Add file upload test for APIRequestFactory

Remove test_compat
Remove TODO note, since it hasn't been TODONE.
Only add 'Vary: Accept' header when there is more than one possible renderer.
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.
Merge pull request #1377 from Ian-Foote/force_bytes

Import force_bytes on django >= 1.5
Fix doc for custom exception sample

The way to provide a default detail for APIException is to define a `default_detail` attribute on the subclass.

Defining a `detail` attribute without `default_detail` will not work, and will result in empty detail instead.
Merge pull request #1379 from bodylabs/exception_example

Fix doc for custom exception sample
Update fields.md
Merge pull request #1381 from meoooh/master

just little bit modify
fixed typo (wrong "its")
Merge pull request #1383 from jfw/patch-1

fixed typo (wrong "its")
Viewsets docs typo

The docstring in the example said "update" instead of "create".
Merge pull request #1384 from meshy/patch-1

Viewsets docs typo
Fixes typo (Implicit instead of Implict).
Merge pull request #1385 from juroe/master

Fixes typo (Implicit instead of Implict).
Fixed a bug backticks

fix

    you may optionally exclude the ``self.check_object_permissions, and simply return the object from the `get_object_or_404` lookup.

to

    you may optionally exclude the `self.check_object_permissions`, and simply return the object from the `get_object_or_404` lookup.
Merge pull request #1387 from RicterZ/patch-1

Fixed a bug backticks
Generate random token directly
Merge pull request #1382 from mking/use-urandom-directly

Generate random token directly