Add missing object param

This commit is contained in:
PCoder 2019-04-03 22:59:01 +02:00
parent 7de2129a00
commit d07f3d7eba

View file

@ -1264,7 +1264,7 @@ class InvoiceDetailView(LoginRequiredMixin, DetailView):
@method_decorator(decorators)
def get(self, request, *args, **kwargs):
context = self.get_context_data()
context = self.get_context_data(object=self.get_object())
return self.render_to_response(context)