mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
17178 review changes
This commit is contained in:
parent
51f9f4ca86
commit
bf1e33f176
@ -8,6 +8,8 @@ A contact represents an individual or group that has been associated with an obj
|
||||
|
||||
The [contact groups](./contactgroup.md) to which this contact is assigned (if any).
|
||||
|
||||
!!! info "This field was renamed from `group` to `groups` in NetBox v4.3, and now supports the assignment of a contact to more than one group."
|
||||
|
||||
### Name
|
||||
|
||||
The name of the contact. This may be an individual or a team/department. (This is the only required contact detail; all others are optional.)
|
||||
|
@ -10,7 +10,6 @@ def migrate_contact_groups(apps, schema_editor):
|
||||
qs = Contacts.objects.filter(group__isnull=False)
|
||||
for contact in qs:
|
||||
contact.groups.add(contact.group)
|
||||
contact.save()
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
Loading…
Reference in New Issue
Block a user