Add view to queue document for OCR by document type.

This commit is contained in:
Roberto Rosario
2015-09-27 01:37:57 -04:00
parent a236b7a869
commit 14184b8c76
7 changed files with 67 additions and 11 deletions

View File

@@ -7,6 +7,7 @@ from django.utils.safestring import mark_safe
from django.utils.translation import ugettext_lazy as _, ugettext
from common.widgets import TextAreaDiv
from documents.models import DocumentType
from .models import DocumentPageContent
@@ -52,3 +53,9 @@ class DocumentContentForm(forms.Form):
}
)
)
class DocumentTypeSelectForm(forms.Form):
document_type = forms.ModelChoiceField(
queryset=DocumentType.objects.all(), label=('Document type')
)