mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Ammend docstring to use python2/3 compatible example.
This commit is contained in:
parent
0800866988
commit
4d9e7a5356
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user