Miscellaneous cleanup

This commit is contained in:
Jeremy Stretch 2016-11-03 14:15:57 -04:00
parent bbac6e2ba6
commit 96eaea7db9
2 changed files with 1 additions and 2 deletions

View File

@ -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):

View File

@ -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')
}