aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests
diff options
context:
space:
mode:
authorDaniel Izquierdo2012-02-20 18:34:31 +0900
committerDaniel Izquierdo2012-02-21 22:44:02 +0900
commita29ca6c2d0fe376c6c3826660b4488ebfd70bfe3 (patch)
tree3a8a417d9f8739c2ba73fe66817f712609928f89 /djangorestframework/tests
parentf5badcf80c16bd70d8273d08c24554e18056d587 (diff)
downloaddjango-rest-framework-a29ca6c2d0fe376c6c3826660b4488ebfd70bfe3.tar.bz2
Pass the request object to `reverse' in the reverse tests
Diffstat (limited to 'djangorestframework/tests')
-rw-r--r--djangorestframework/tests/reverse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/reverse.py b/djangorestframework/tests/reverse.py
index 02dbe9db..3ac04d8c 100644
--- a/djangorestframework/tests/reverse.py
+++ b/djangorestframework/tests/reverse.py
@@ -11,7 +11,7 @@ class MockView(View):
permissions = ()
def get(self, request):
- return reverse('another')
+ return reverse('another', request)
urlpatterns = patterns('',
url(r'^$', MockView.as_view()),