1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #8593: Add link field to contact model

This commit is contained in:
jeremystretch
2022-03-30 16:19:12 -04:00
parent 3ff4fd814e
commit cdacd2a951
10 changed files with 46 additions and 11 deletions

View File

@ -98,9 +98,12 @@ class ContactBulkEditForm(NetBoxModelBulkEditForm):
max_length=200,
required=False
)
link = forms.URLField(
required=False
)
model = Contact
fieldsets = (
(None, ('group', 'title', 'phone', 'email', 'address')),
(None, ('group', 'title', 'phone', 'email', 'address', 'link')),
)
nullable_fields = ('group', 'title', 'phone', 'email', 'address', 'comments')
nullable_fields = ('group', 'title', 'phone', 'email', 'address', 'link', 'comments')