mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-09 19:56:24 +00:00
Fix calls to super()
This commit is contained in:
1 parent
12c58b14d6
commit
243e3ff37d
6 files changed
+11
-11
No files matched your search
@@ -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