From 021b8d8bb6bfcd6ccca774b12be583d1007bb250 Mon Sep 17 00:00:00 2001 From: "Jonathan S. Katz" Date: Sun, 30 Aug 2020 18:00:07 -0400 Subject: [PATCH] Ensure "help_text" segments line up on feature matrix model There was a subtle difference between the migration and the model itself, which was leading to a migration warning, even though nothing about the help_text is persistent in an actual database. --- pgweb/featurematrix/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgweb/featurematrix/models.py b/pgweb/featurematrix/models.py index 1029dfc5..fb6580ad 100644 --- a/pgweb/featurematrix/models.py +++ b/pgweb/featurematrix/models.py @@ -27,7 +27,7 @@ class FeatureGroup(models.Model): class Feature(models.Model): group = models.ForeignKey(FeatureGroup, null=False, blank=False, on_delete=models.CASCADE) featurename = models.CharField(max_length=100, null=False, blank=False) - featuredescription = models.TextField(null=False, blank=True, help_text="""Supports Markdown. A plain URL will link directly to that URL.""") + featuredescription = models.TextField(null=False, blank=True, help_text="""Supports Markdown. A single, plain URL will link directly to that URL.""") # WARNING! All fields that start with "v" will be considered versions! v74 = models.IntegerField(verbose_name="7.4", null=False, blank=False, default=0, choices=choices) v74.visible_default = False