Commit 913b39b3 authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

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
parent 1bf58154
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)