Fixes: 18593 - "Create & Add Another" broken for new IP addresses (#18602)

* update IPAddressEditView get_extra_addanother_params

* Simplify get_extra_addanother_params
This commit is contained in:
Renato Almeida de Oliveira 2025-02-11 10:31:40 -03:00 committed by GitHub
parent 015ef25ca0
commit 154b3a7abb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -868,6 +868,7 @@ class IPAddressEditView(generic.ObjectEditView):
return {'interface': request.GET['interface']}
elif 'vminterface' in request.GET:
return {'vminterface': request.GET['vminterface']}
return {}
# TODO: Standardize or remove this view