mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Add Markdown support to feature matrix descriptions
This will make it possible to allow for links in longer descriptions for particular features. This also adds some help text describing how the feature matrix details field works, as I remember I was originally caught by surprise that one could provide a direct link to something.
This commit is contained in:
@ -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)
|
||||
featuredescription = models.TextField(null=False, blank=True, help_text="""Supports Markdown. A 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
|
||||
|
Reference in New Issue
Block a user