1
0
Fork 0
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:
catborise 2018-09-26 17:16:48 +03:00
parent f7d2d24d0b
commit 5d4a600908

View file

@ -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]: