From 90af02cd89266d8733d26d997a04d90878beae97 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 3 Jul 2020 20:24:33 +0200 Subject: [PATCH] Fix typo in redirect_to help text Interestingly enough, this showed up because the migration was out of sync. Normally this means the migration has not been updated, but in this case it appears the migration is correct and the actual model is incorrect. Yet both the model and the migraiton were introduced in commit e2120f0a. --- pgweb/docs/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgweb/docs/models.py b/pgweb/docs/models.py index a4558a68..89e54bd8 100644 --- a/pgweb/docs/models.py +++ b/pgweb/docs/models.py @@ -40,7 +40,7 @@ class DocPageRedirect(models.Model): completely removed from the PostgreSQL documentation """ redirect_from = models.CharField(max_length=64, null=False, blank=False, unique=True, help_text='Page to redirect from, e.g. "old_page.html"') - redirect_to = models.CharField(max_length=64, null=False, blank=False, unique=True, help_text='Page to redirect from, e.g. "new_page.html"') + redirect_to = models.CharField(max_length=64, null=False, blank=False, unique=True, help_text='Page to redirect to, e.g. "new_page.html"') class Meta: verbose_name_plural = "Doc page redirects" -- 2.39.5