Ammend docstring to use python2/3 compatible example.

This commit is contained in:
Tom Christie 2015-01-08 15:38:27 +00:00
parent 0800866988
commit 4d9e7a5356

View File

@ -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.