mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
success message converted to translate ready
This commit is contained in:
parent
f7d2d24d0b
commit
5d4a600908
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ def create_instance(request, compute_id):
|
|||
data['mac'])
|
||||
create_instance = Instance(compute_id=compute_id, name=data['name'], uuid=uuid)
|
||||
create_instance.save()
|
||||
messages.success(request,"Instance is created.")
|
||||
messages.success(request, _("Instance is created."))
|
||||
return HttpResponseRedirect(reverse('instance', args=[compute_id, data['name']]))
|
||||
except libvirtError as lib_err:
|
||||
if data['hdd_size'] or volumes[clone_path]:
|
||||
|
|
Loading…
Reference in a new issue