aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/authentication.py
diff options
context:
space:
mode:
authorTom Christie2011-04-25 01:03:23 +0100
committerTom Christie2011-04-25 01:03:23 +0100
commit4692374e0d6f020f8a7a95f3a60094d525c59341 (patch)
tree016dec93ce950027e2ee6f4a6b8c0e1d5ecf2037 /djangorestframework/tests/authentication.py
parentcb4b4f6be6eeac3d2383614998a5e1436cb4226e (diff)
downloaddjango-rest-framework-4692374e0d6f020f8a7a95f3a60094d525c59341.tar.bz2
Generic permissions added, allowed_methods and anon_allowed_methods now defunct, dispatch now mirrors View.dispatch more nicely
Diffstat (limited to 'djangorestframework/tests/authentication.py')
-rw-r--r--djangorestframework/tests/authentication.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/djangorestframework/tests/authentication.py b/djangorestframework/tests/authentication.py
index b2bc4446..c825883d 100644
--- a/djangorestframework/tests/authentication.py
+++ b/djangorestframework/tests/authentication.py
@@ -13,8 +13,6 @@ except ImportError:
import simplejson as json
class MockResource(Resource):
- allowed_methods = ('POST',)
-
def post(self, request):
return {'a':1, 'b':2, 'c':3}