Fixes broken permissions-example.

reverse takes `request` as a kwarg.
This commit is contained in:
Marko Tibold 2012-02-29 21:32:10 +01:00
parent 1751655927
commit 55317b0372

View File

@ -12,11 +12,11 @@ class PermissionsExampleView(View):
return [
{
'name': 'Throttling Example',
'url': reverse('throttled-resource', request)
'url': reverse('throttled-resource', request=request)
},
{
'name': 'Logged in example',
'url': reverse('loggedin-resource', request)
'url': reverse('loggedin-resource', request=request)
},
]