mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge 5b852ef496
into d1fe61ce94
This commit is contained in:
commit
354db3ba90
|
@ -122,7 +122,7 @@ 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',),
|
||||
'PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',),
|
||||
'PAGINATE_BY': 10
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user