2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Fix calls to super()

This commit is contained in:
Oliver Walters
2022-05-06 23:32:09 +10:00
parent 12c58b14d6
commit 243e3ff37d
6 changed files with 11 additions and 11 deletions

View File

@ -29,7 +29,7 @@ class BuildIndex(InvenTreeRoleMixin, ListView):
def get_context_data(self, **kwargs):
context = super(BuildIndex, self).get_context_data(**kwargs).copy()
context = super(self).get_context_data(**kwargs).copy()
context['BuildStatus'] = BuildStatus
@ -52,7 +52,7 @@ class BuildDetail(InvenTreeRoleMixin, DetailView):
def get_context_data(self, **kwargs):
ctx = super(DetailView, self).get_context_data(**kwargs)
ctx = super().get_context_data(**kwargs)
build = self.get_object()