mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Fixes #8305: Fix assignment of custom field data to FHRP groups via UI
This commit is contained in:
parent
d5443adc74
commit
dd0b16bff5
@ -14,6 +14,7 @@
|
|||||||
* [#8285](https://github.com/netbox-community/netbox/issues/8285) - Fix `cluster_count` under tenant REST API serializer
|
* [#8285](https://github.com/netbox-community/netbox/issues/8285) - Fix `cluster_count` under tenant REST API serializer
|
||||||
* [#8287](https://github.com/netbox-community/netbox/issues/8287) - Correct label in export template form
|
* [#8287](https://github.com/netbox-community/netbox/issues/8287) - Correct label in export template form
|
||||||
* [#8301](https://github.com/netbox-community/netbox/issues/8301) - Fix delete button for various object children views
|
* [#8301](https://github.com/netbox-community/netbox/issues/8301) - Fix delete button for various object children views
|
||||||
|
* [#8305](https://github.com/netbox-community/netbox/issues/8305) - Fix assignment of custom field data to FHRP groups via UI
|
||||||
* [#8306](https://github.com/netbox-community/netbox/issues/8306) - Redirect user to previous page after login
|
* [#8306](https://github.com/netbox-community/netbox/issues/8306) - Redirect user to previous page after login
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -592,6 +592,8 @@ class FHRPGroupForm(CustomFieldModelForm):
|
|||||||
return instance
|
return instance
|
||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
|
super().clean()
|
||||||
|
|
||||||
ip_vrf = self.cleaned_data.get('ip_vrf')
|
ip_vrf = self.cleaned_data.get('ip_vrf')
|
||||||
ip_address = self.cleaned_data.get('ip_address')
|
ip_address = self.cleaned_data.get('ip_address')
|
||||||
ip_status = self.cleaned_data.get('ip_status')
|
ip_status = self.cleaned_data.get('ip_status')
|
||||||
|
@ -60,7 +60,7 @@ class FHRPGroupAssignmentTable(BaseTable):
|
|||||||
)
|
)
|
||||||
actions = ButtonsColumn(
|
actions = ButtonsColumn(
|
||||||
model=FHRPGroupAssignment,
|
model=FHRPGroupAssignment,
|
||||||
buttons=('edit', 'delete', 'foo')
|
buttons=('edit', 'delete')
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta(BaseTable.Meta):
|
class Meta(BaseTable.Meta):
|
||||||
|
Loading…
Reference in New Issue
Block a user