Kaydet (Commit) 913b39b3 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst 1bf58154
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment