Merge "Modify the prompt of update network"
This commit is contained in:
commit
d63a65683a
@ -344,7 +344,8 @@ class UpdateNetwork(forms.SelfHandlingForm):
|
|||||||
network = api.neutron.network_update(request,
|
network = api.neutron.network_update(request,
|
||||||
self.initial['network_id'],
|
self.initial['network_id'],
|
||||||
**params)
|
**params)
|
||||||
msg = _('Network %s was successfully updated.') % data['name']
|
msg = (_('Network %s was successfully updated.') %
|
||||||
|
network.name_or_id)
|
||||||
messages.success(request, msg)
|
messages.success(request, msg)
|
||||||
return network
|
return network
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user