diff options
author | Magnus Hagander | 2020-07-03 18:24:33 +0000 |
---|---|---|
committer | Magnus Hagander | 2020-07-03 18:24:33 +0000 |
commit | 90af02cd89266d8733d26d997a04d90878beae97 (patch) | |
tree | c9b1961a5444f52a7dfa78802af2193477c608d9 /pgweb/docs/models.py | |
parent | 7ee12fdcd8cba90b7eee22e800fdcba0b86536b7 (diff) |
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.
Diffstat (limited to 'pgweb/docs/models.py')
-rw-r--r-- | pgweb/docs/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" |