mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-04 23:44:07 +03:00
Tweak settings in quickstart guide
This commit is contained in:
parent
489531f28d
commit
c2ad032313
|
@ -222,7 +222,7 @@ urlpatterns += patterns('',
|
||||||
)
|
)
|
||||||
|
|
||||||
REST_FRAMEWORK = {
|
REST_FRAMEWORK = {
|
||||||
'PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser'),
|
'DEFAULT_PERMISSIONS': ('rest_framework.permissions.IsAdminUser',),
|
||||||
'PAGINATE_BY': 10
|
'PAGINATE_BY': 10
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user