Ticket #17422: detail.py.patch

File detail.py.patch, 520 bytes (added by anonymous, 13 years ago)
  • django/views/generic/detail.py

    diff --git a/django/views/generic/detail.py b/django/views/generic/detail.py
    index ab21573..b9278bb 100644
    a b class SingleObjectMixin(object):  
    9494
    9595
    9696class BaseDetailView(SingleObjectMixin, View):
    97     def get(self, request, **kwargs):
     97    def get(self, request, *args, **kwargs):
    9898        self.object = self.get_object()
    9999        context = self.get_context_data(object=self.object)
    100100        return self.render_to_response(context)
Back to Top