Prefix argument not needed
@@ -36,10 +36,9 @@ def patch_urlresolvers():
old_reverse = urlresolvers.reverse
- def new_reverse(viewname, urlconf=None, args=None, kwargs=None,
- prefix=None, current_app=None):
+ def new_reverse(viewname, urlconf=None, args=None, kwargs=None,current_app=None):
path = old_reverse(viewname, urlconf=urlconf, args=args, kwargs=kwargs,
- prefix=prefix, current_app=current_app)
+ current_app=current_app)
if is_absolute_url(path):
return path
