mirror of https://github.com/django/django.git
Refs #31541 -- Updated Redirect.new_path.help_text.
This commit is contained in:
parent
a8c0246ece
commit
d5118d2abc
|
@ -0,0 +1,24 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('redirects', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='redirect',
|
||||
name='new_path',
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
help_text=(
|
||||
'This can be either an absolute path (as above) or a full '
|
||||
'URL starting with a scheme such as “https://”.'
|
||||
),
|
||||
max_length=200,
|
||||
verbose_name='redirect to',
|
||||
),
|
||||
),
|
||||
]
|
|
@ -15,7 +15,10 @@ class Redirect(models.Model):
|
|||
_('redirect to'),
|
||||
max_length=200,
|
||||
blank=True,
|
||||
help_text=_('This can be either an absolute path (as above) or a full URL starting with “http://”.'),
|
||||
help_text=_(
|
||||
'This can be either an absolute path (as above) or a full URL '
|
||||
'starting with a scheme such as “https://”.'
|
||||
),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
|
|
Loading…
Reference in New Issue