mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Miscellaneous cleanup
This commit is contained in:
parent
bbac6e2ba6
commit
96eaea7db9
@ -142,7 +142,6 @@ class CustomFieldBulkEditForm(BulkEditForm):
|
||||
self.fields[name] = field
|
||||
# Annotate this as a custom field
|
||||
self.custom_fields.append(name)
|
||||
print(self.nullable_fields)
|
||||
|
||||
|
||||
class CustomFieldFilterForm(forms.Form):
|
||||
|
@ -288,7 +288,7 @@ class IPAddressForm(BootstrapMixin, CustomFieldForm):
|
||||
class Meta:
|
||||
model = IPAddress
|
||||
fields = ['address', 'vrf', 'tenant', 'status', 'nat_inside', 'description']
|
||||
widgets ={
|
||||
widgets = {
|
||||
'nat_inside': APISelect(api_url='/api/ipam/ip-addresses/?device_id={{nat_device}}', display_field='address')
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user