From 3dd90d2b461ea3d87d504ba30f1bb3bd5b2db0bc Mon Sep 17 00:00:00 2001 From: minitux Date: Mon, 9 Apr 2018 23:31:58 +0200 Subject: [PATCH] [DOCS] python print syntax python3 style --- docs/api-guide/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md index 4d4898e1a..304d35412 100644 --- a/docs/api-guide/settings.md +++ b/docs/api-guide/settings.md @@ -26,7 +26,7 @@ you should use the `api_settings` object. For example. from rest_framework.settings import api_settings - print api_settings.DEFAULT_AUTHENTICATION_CLASSES + print(api_settings.DEFAULT_AUTHENTICATION_CLASSES) The `api_settings` object will check for any user-defined settings, and otherwise fall back to the default values. Any setting that uses string import paths to refer to a class will automatically import and return the referenced class, instead of the string literal.