mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Increase length of CustomLink text and url fields
This commit is contained in:
parent
6ab56c3978
commit
074d0349a1
@ -16,8 +16,8 @@ class Migration(migrations.Migration):
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False)),
|
||||
('name', models.CharField(max_length=100, unique=True)),
|
||||
('text', models.CharField(max_length=200)),
|
||||
('url', models.CharField(max_length=200)),
|
||||
('text', models.CharField(max_length=500)),
|
||||
('url', models.CharField(max_length=500)),
|
||||
('weight', models.PositiveSmallIntegerField(default=100)),
|
||||
('group_name', models.CharField(blank=True, max_length=50)),
|
||||
('button_class', models.CharField(default='default', max_length=30)),
|
||||
|
@ -331,11 +331,11 @@ class CustomLink(models.Model):
|
||||
unique=True
|
||||
)
|
||||
text = models.CharField(
|
||||
max_length=200,
|
||||
max_length=500,
|
||||
help_text="Jinja2 template code for link text"
|
||||
)
|
||||
url = models.CharField(
|
||||
max_length=200,
|
||||
max_length=500,
|
||||
verbose_name='URL',
|
||||
help_text="Jinja2 template code for link URL"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user