diff options
Diffstat (limited to 'examples/sandbox/views.py')
| -rw-r--r-- | examples/sandbox/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/sandbox/views.py b/examples/sandbox/views.py index 561bdb1d..5b84e8e4 100644 --- a/examples/sandbox/views.py +++ b/examples/sandbox/views.py @@ -24,9 +24,8 @@ class Sandbox(Resource): 6. A blog posts and comments API. Please feel free to browse, create, edit and delete the resources in these examples.""" - allowed_methods = anon_allowed_methods = ('GET',) - def get(self, request, auth): + def get(self, request): return [{'name': 'Simple Resource example', 'url': reverse('example-resource')}, {'name': 'Simple ModelResource example', 'url': reverse('my-model-root-resource')}, {'name': 'Simple Mixin-only example', 'url': reverse('mixin-view')}, |
