mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Adds tags on contact assignment (#13328)
* adds tags on contact assignments #12882 * updated migration * added tags on import form * adds TagsMixin on ContactAssignmentType #12882 * Misc cleanup --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
committed by
GitHub
parent
c1ca8d5d8d
commit
cbf4b43b35
20
netbox/tenancy/migrations/0011_contactassignment_tags.py
Normal file
20
netbox/tenancy/migrations/0011_contactassignment_tags.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 4.1.10 on 2023-07-08 07:17
|
||||
|
||||
from django.db import migrations
|
||||
import taggit.managers
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('extras', '0097_customfield_remove_choices'),
|
||||
('tenancy', '0010_tenant_relax_uniqueness'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='contactassignment',
|
||||
name='tags',
|
||||
field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user