Skip to content

Commit 90af02c

Browse files
committed
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 e2120f0.
1 parent 7ee12fd commit 90af02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgweb/docs/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class DocPageRedirect(models.Model):
4040
completely removed from the PostgreSQL documentation
4141
"""
4242
redirect_from = models.CharField(max_length=64, null=False, blank=False, unique=True, help_text='Page to redirect from, e.g. "old_page.html"')
43-
redirect_to = models.CharField(max_length=64, null=False, blank=False, unique=True, help_text='Page to redirect from, e.g. "new_page.html"')
43+
redirect_to = models.CharField(max_length=64, null=False, blank=False, unique=True, help_text='Page to redirect to, e.g. "new_page.html"')
4444

4545
class Meta:
4646
verbose_name_plural = "Doc page redirects"

0 commit comments

Comments
 (0)