From 913b39b37f6ea9002b9b1fb944812bb623b962eb Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 17 Dec 2011 02:16:52 +0000 Subject: [PATCH] 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 --- django/views/generic/detail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/views/generic/detail.py b/django/views/generic/detail.py index ab215733b5..b9278bb1c2 100644 --- a/django/views/generic/detail.py +++ b/django/views/generic/detail.py @@ -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)