Refs #25073 -- Copied recently added verbose_names to migrations.
This commit is contained in:
parent
f8cc464452
commit
e25ba6e8bb
|
@ -23,8 +23,8 @@ class Migration(migrations.Migration):
|
||||||
('object_repr', models.CharField(max_length=200, verbose_name='object repr')),
|
('object_repr', models.CharField(max_length=200, verbose_name='object repr')),
|
||||||
('action_flag', models.PositiveSmallIntegerField(verbose_name='action flag')),
|
('action_flag', models.PositiveSmallIntegerField(verbose_name='action flag')),
|
||||||
('change_message', models.TextField(verbose_name='change message', blank=True)),
|
('change_message', models.TextField(verbose_name='change message', blank=True)),
|
||||||
('content_type', models.ForeignKey(to_field='id', blank=True, to='contenttypes.ContentType', null=True)),
|
('content_type', models.ForeignKey(to_field='id', blank=True, to='contenttypes.ContentType', null=True, verbose_name='content type')),
|
||||||
('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
|
('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, verbose_name='user')),
|
||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
'ordering': ('-action_time',),
|
'ordering': ('-action_time',),
|
||||||
|
|
|
@ -19,7 +19,7 @@ class Migration(migrations.Migration):
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||||
('name', models.CharField(max_length=50, verbose_name='name')),
|
('name', models.CharField(max_length=50, verbose_name='name')),
|
||||||
('content_type', models.ForeignKey(to='contenttypes.ContentType', to_field='id')),
|
('content_type', models.ForeignKey(to='contenttypes.ContentType', to_field='id', verbose_name='content type')),
|
||||||
('codename', models.CharField(max_length=100, verbose_name='codename')),
|
('codename', models.CharField(max_length=100, verbose_name='codename')),
|
||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Migration(migrations.Migration):
|
||||||
('enable_comments', models.BooleanField(default=False, verbose_name='enable comments')),
|
('enable_comments', models.BooleanField(default=False, verbose_name='enable comments')),
|
||||||
('template_name', models.CharField(help_text="Example: 'flatpages/contact_page.html'. If this isn't provided, the system will use 'flatpages/default.html'.", max_length=70, verbose_name='template name', blank=True)),
|
('template_name', models.CharField(help_text="Example: 'flatpages/contact_page.html'. If this isn't provided, the system will use 'flatpages/default.html'.", max_length=70, verbose_name='template name', blank=True)),
|
||||||
('registration_required', models.BooleanField(default=False, help_text='If this is checked, only logged-in users will be able to view the page.', verbose_name='registration required')),
|
('registration_required', models.BooleanField(default=False, help_text='If this is checked, only logged-in users will be able to view the page.', verbose_name='registration required')),
|
||||||
('sites', models.ManyToManyField(to='sites.Site')),
|
('sites', models.ManyToManyField(to='sites.Site', verbose_name='sites')),
|
||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
'ordering': ('url',),
|
'ordering': ('url',),
|
||||||
|
|
|
@ -15,7 +15,7 @@ class Migration(migrations.Migration):
|
||||||
name='Redirect',
|
name='Redirect',
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||||
('site', models.ForeignKey(to='sites.Site', to_field='id')),
|
('site', models.ForeignKey(to='sites.Site', to_field='id', verbose_name='site')),
|
||||||
('old_path', models.CharField(help_text="This should be an absolute path, excluding the domain name. Example: '/events/search/'.", max_length=200, verbose_name='redirect from', db_index=True)),
|
('old_path', models.CharField(help_text="This should be an absolute path, excluding the domain name. Example: '/events/search/'.", max_length=200, verbose_name='redirect from', db_index=True)),
|
||||||
('new_path', models.CharField(help_text="This can be either an absolute path (as above) or a full URL starting with 'http://'.", max_length=200, verbose_name='redirect to', blank=True)),
|
('new_path', models.CharField(help_text="This can be either an absolute path (as above) or a full URL starting with 'http://'.", max_length=200, verbose_name='redirect to', blank=True)),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue