aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sandbox/views.py
diff options
context:
space:
mode:
authorTom Christie2011-04-27 18:07:28 +0100
committerTom Christie2011-04-27 18:07:28 +0100
commit028851bfa1ee44b8e92808b18d32278d4a473cc8 (patch)
tree7a9497fef627d83bbc75dbd21294ff813216c828 /examples/sandbox/views.py
parent762a52edde09297e87c640797219c9bb8255d50a (diff)
downloaddjango-rest-framework-028851bfa1ee44b8e92808b18d32278d4a473cc8.tar.bz2
Fix up tests and examples after refactoring
Diffstat (limited to 'examples/sandbox/views.py')
-rw-r--r--examples/sandbox/views.py3
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')},