From f4245040be280f48c4e3914aa29c1f2ed026c03f Mon Sep 17 00:00:00 2001 From: Raphael Pierzina Date: Fri, 2 Dec 2016 15:40:28 +0000 Subject: [PATCH] Add a note on permissions needing to be a tuple --- docs/tutorial/quickstart.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 335b69fa5..2ccda9824 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -168,7 +168,9 @@ INSTALLED_APPS = ( ) REST_FRAMEWORK = { - 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',), + 'DEFAULT_PERMISSION_CLASSES': ( + 'rest_framework.permissions.IsAdminUser', # Note the trailing ',' character, this needs to be a tuple + ), 'PAGE_SIZE': 10 } ```