Add a note on permissions needing to be a tuple

This commit is contained in:
Raphael Pierzina 2016-12-02 15:40:28 +00:00
parent 54b57c226e
commit f4245040be

View File

@ -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
}
```