mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
added a permissions
example with just a per-user-throttle which we may want to expand with some auth examples.
This commit is contained in:
parent
f02a4e1890
commit
37db771cb9
|
@ -31,4 +31,6 @@ class Sandbox(View):
|
|||
{'name': 'Simple Mixin-only example', 'url': reverse('mixin-view')},
|
||||
{'name': 'Object store API', 'url': reverse('object-store-root')},
|
||||
{'name': 'Code highlighting API', 'url': reverse('pygments-root')},
|
||||
{'name': 'Blog posts API', 'url': reverse('blog-posts-root')}]
|
||||
{'name': 'Blog posts API', 'url': reverse('blog-posts-root')},
|
||||
{'name': 'Permissions example', 'url': reverse('throttled-resource')}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user