Fixed #17422 -- Changed BaseDetailView to use *args, to be consistent with other views

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2011-12-17 02:16:52 +00:00
parent 1bf58154f7
commit 913b39b37f
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class SingleObjectMixin(object):
class BaseDetailView(SingleObjectMixin, View):
def get(self, request, **kwargs):
def get(self, request, *args, **kwargs):
self.object = self.get_object()
context = self.get_context_data(object=self.object)
return self.render_to_response(context)