mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 05:20:12 +03:00
Remove global permission class
This interferes with Core API schema endpoint
This commit is contained in:
parent
ef11535aa5
commit
9c528016fb
|
@ -142,9 +142,6 @@ We'd also like to set a few global settings. We'd like to turn on pagination, a
|
||||||
)
|
)
|
||||||
|
|
||||||
REST_FRAMEWORK = {
|
REST_FRAMEWORK = {
|
||||||
'DEFAULT_PERMISSION_CLASSES': [
|
|
||||||
'rest_framework.permissions.IsAdminUser',
|
|
||||||
],
|
|
||||||
'PAGE_SIZE': 10
|
'PAGE_SIZE': 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user