mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #8495: Enable custom field grouping
This commit is contained in:
22
netbox/extras/migrations/0074_customfield_group_name.py
Normal file
22
netbox/extras/migrations/0074_customfield_group_name.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# Generated by Django 4.0.4 on 2022-04-15 17:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('extras', '0073_journalentry_tags_custom_fields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='customfield',
|
||||
options={'ordering': ['group_name', 'weight', 'name']},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='customfield',
|
||||
name='group_name',
|
||||
field=models.CharField(blank=True, max_length=50),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user