Add explicit argument name.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-23 17:09:01 -04:00
parent 377166e491
commit 2a45f52eb9

View File

@@ -322,7 +322,9 @@ class DocumentIndexNodeListView(SingleObjectListView):
}
def get_object_list(self):
return DocumentIndexInstanceNode.objects.get_for(self.get_document())
return DocumentIndexInstanceNode.objects.get_for(
document=self.get_document()
)
class RebuildIndexesView(FormView):