Change DEFAULT_PERMISSION_CLASSES to a list in quickstart.md (#4733)

This commit is contained in:
Raphael Pierzina 2016-12-02 17:01:37 +00:00 committed by Tom Christie
parent 932d04a4be
commit 238783f2ed

View File

@ -118,7 +118,9 @@ We'd also like to set a few global settings. We'd like to turn on pagination, a
)
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',),
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAdminUser',
],
'PAGE_SIZE': 10
}