mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #5608: Add REST API endpoint for custom links
This commit is contained in:
28
netbox/extras/migrations/0057_customlink_rename_fields.py
Normal file
28
netbox/extras/migrations/0057_customlink_rename_fields.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 3.2b1 on 2021-03-09 01:42
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('extras', '0056_sitegroup'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='customlink',
|
||||
old_name='text',
|
||||
new_name='link_text',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='customlink',
|
||||
old_name='url',
|
||||
new_name='link_url',
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='customlink',
|
||||
name='new_window',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user