Added a default algorithm

This commit is contained in:
Daniel Quinn 2016-02-14 01:30:41 +00:00
parent d9b7851de9
commit fc5d89c6fc

View File

@ -67,8 +67,7 @@ class Tag(SluggedModel):
match = models.CharField(max_length=256, blank=True) match = models.CharField(max_length=256, blank=True)
matching_algorithm = models.PositiveIntegerField( matching_algorithm = models.PositiveIntegerField(
choices=MATCHING_ALGORITHMS, choices=MATCHING_ALGORITHMS,
blank=True, default=MATCH_ANY,
null=True,
help_text=( help_text=(
"Which algorithm you want to use when matching text to the OCR'd " "Which algorithm you want to use when matching text to the OCR'd "
"PDF. Here, \"any\" looks for any occurrence of any word provided " "PDF. Here, \"any\" looks for any occurrence of any word provided "