mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Tweak settings in quickstart guide
This commit is contained in:
parent
115e61be09
commit
e9475d036f
|
@ -126,7 +126,7 @@ We'd also like to set a few global settings. We'd like to turn on pagination, a
|
|||
)
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser'),
|
||||
'DEFAULT_PERMISSIONS': ('rest_framework.permissions.IsAdminUser',),
|
||||
'PAGINATE_BY': 10
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user