mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-22 14:32:55 +03:00
Pass the request object to `reverse' in the reverse tests
This commit is contained in:
parent
4e11d7d041
commit
afb2c01cf3
|
@ -12,7 +12,7 @@ class MockView(View):
|
|||
permissions = ()
|
||||
|
||||
def get(self, request):
|
||||
return Response(reverse('another'))
|
||||
return Response(reverse('another', request))
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^$', MockView.as_view()),
|
||||
|
|
Loading…
Reference in New Issue
Block a user