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
+1
View File
@@ -868,6 +868,7 @@ class IPAddressEditView(generic.ObjectEditView):
return {'interface': request.GET['interface']} return {'interface': request.GET['interface']}
elif 'vminterface' in request.GET: elif 'vminterface' in request.GET:
return {'vminterface': request.GET['vminterface']} return {'vminterface': request.GET['vminterface']}
return {}
# TODO: Standardize or remove this view # TODO: Standardize or remove this view