Rename smart links title and dynamic_title fileds to label and dynamic_label.

This commit is contained in:
Roberto Rosario
2015-07-07 23:20:48 -04:00
parent a5cee3c963
commit ac5f403997
5 changed files with 63 additions and 13 deletions
@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('linking', '0002_resolvedsmartlink'),
]
operations = [
migrations.RenameField(
model_name='smartlink',
old_name='dynamic_title',
new_name='dynamic_label',
),
migrations.RenameField(
model_name='smartlink',
old_name='title',
new_name='label',
),
]
@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('linking', '0003_auto_20150708_0318'),
]
operations = [
migrations.AlterField(
model_name='smartlink',
name='dynamic_label',
field=models.CharField(help_text='This expression will be evaluated against the current selected document.', max_length=96, verbose_name='Dynamic label', blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='smartlink',
name='label',
field=models.CharField(max_length=96, verbose_name='Label'),
preserve_default=True,
),
]