Refactor document page image generation and transformation classes

to cache all transformed versions of a document page.
This commit is contained in:
Roberto Rosario
2016-11-02 02:34:57 -04:00
parent ff67b11110
commit c0194c63dc
21 changed files with 348 additions and 185 deletions
-1
View File
@@ -99,7 +99,6 @@ class DocumentTypeSubmitView(FormView):
def form_valid(self, form):
count = 0
print form.cleaned_data
for document in form.cleaned_data['document_type'].documents.all():
document.submit_for_ocr()
count += 1