mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04:16 +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:
|
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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user