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:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user