mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #13154 -- Fixed the URL resolver's reverse() to match the behavior of its resolve() with regard to the default kwargs. Many thanks to patrys.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -13,6 +13,9 @@ def kwargs_view(request, arg1=1, arg2=2):
|
||||
def absolute_kwargs_view(request, arg1=1, arg2=2):
|
||||
return HttpResponse('')
|
||||
|
||||
def defaults_view(request, arg1, arg2):
|
||||
pass
|
||||
|
||||
class ViewClass(object):
|
||||
def __call__(self, request, *args, **kwargs):
|
||||
return HttpResponse('')
|
||||
|
||||
Reference in New Issue
Block a user