Add missing object param
This commit is contained in:
parent
7de2129a00
commit
d07f3d7eba
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue