Issue #75, move OCR queueing from a setting to a DocumentType model field

This commit is contained in:
Roberto Rosario
2014-10-21 16:53:42 -04:00
parent 3c72d62087
commit 549f0fdc87
6 changed files with 127 additions and 15 deletions

View File

@@ -57,6 +57,7 @@ class DocumentType(models.Model):
properties can be attached
"""
name = models.CharField(max_length=32, verbose_name=_(u'Name'), unique=True)
ocr = models.BooleanField(default=True, verbose_name=_(u'Automatically queue newly created documents for OCR.'))
objects = DocumentTypeManager()