Commit 4d9e7a53 by Tom Christie

Ammend docstring to use python2/3 compatible example.

parent 08008669
...@@ -167,7 +167,7 @@ class APISettings(object): ...@@ -167,7 +167,7 @@ class APISettings(object):
For example: For example:
from rest_framework.settings import api_settings from rest_framework.settings import api_settings
print api_settings.DEFAULT_RENDERER_CLASSES print(api_settings.DEFAULT_RENDERER_CLASSES)
Any setting with string import paths will be automatically resolved Any setting with string import paths will be automatically resolved
and return the class, rather than the string literal. and return the class, rather than the string literal.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment