mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#1344: Show object type & name when assigning a contact
This commit is contained in:
@@ -338,6 +338,7 @@ class ContactBulkDeleteView(generic.BulkDeleteView):
|
||||
class ContactAssignmentEditView(generic.ObjectEditView):
|
||||
queryset = ContactAssignment.objects.all()
|
||||
model_form = forms.ContactAssignmentForm
|
||||
template_name = 'tenancy/contactassignment_edit.html'
|
||||
|
||||
def alter_obj(self, instance, request, args, kwargs):
|
||||
if not instance.pk:
|
||||
|
Reference in New Issue
Block a user