From ae940c2836218a3a5458cf2597d4e6b0b18351f8 Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Wed, 10 Jul 2024 21:09:37 +0100 Subject: [PATCH] update algorithms readable labels --- apps/home/models.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/home/models.py b/apps/home/models.py index d309a22..7fa0e12 100644 --- a/apps/home/models.py +++ b/apps/home/models.py @@ -130,12 +130,12 @@ class Filter(models.Model): MATCH_AUTO = 6 MATCHING_ALGORITHMS = ( - # (MATCH_NONE, _("None")), - (MATCH_ANY, _("Any word")), - (MATCH_ALL, _("All words")), - (MATCH_LITERAL, _("Exact match")), - (MATCH_REGEX, _("Regular expression")), - (MATCH_FUZZY, _("Fuzzy word")), + (MATCH_NONE, _("None")), + (MATCH_ANY, _("Any: Item contains any of these words (space separated)")), + (MATCH_ALL, _("All: Item contains all of these words (space separated)")), + (MATCH_LITERAL, _("Exact: Item contains this string")), + (MATCH_REGEX, _("Regular expression: Item matches this regex")), + (MATCH_FUZZY, _("Fuzzy: Item contains a word similar to this word")), # (MATCH_AUTO, _("Automatic")), ) @@ -228,7 +228,7 @@ class Subscription(models.Model): blank=True ) - published_threshold = models.DateField(default=timezone.now, blank=True) + published_threshold = models.DateTimeField(default=timezone.now, blank=True) article_fetch_image = models.BooleanField( default=True,