Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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
  • Loading branch information...
commit 913b39b37f6ea9002b9b1fb944812bb623b962eb 1 parent 1bf5815
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/generic/detail.py
View
2  django/views/generic/detail.py
@@ -94,7 +94,7 @@ def get_context_data(self, **kwargs):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.