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
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class APISettings(object):
For example:
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
and return the class, rather than the string literal.