Browse Source

Miscellaneous cleanup

Jeremy Stretch 8 years ago
parent
commit
96eaea7db9
2 changed files with 1 additions and 2 deletions
  1. 0 1
      netbox/extras/forms.py
  2. 1 1
      netbox/ipam/forms.py

+ 0 - 1
netbox/extras/forms.py

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

+ 1 - 1
netbox/ipam/forms.py

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