Commits

adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 016bd65

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

  • Participants
  • Parent commits 6bd8c6c

Comments (0)

Files changed (1)

File django/views/generic/detail.py

 
 
 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)