Commit e14d1e18 by Guba Sándor

dashboard: fixed TODO deleted iwner from save_as

parent d89d75c8
...@@ -423,10 +423,8 @@ class VmDetailView(CheckedDetailView): ...@@ -423,10 +423,8 @@ class VmDetailView(CheckedDetailView):
self.object.name, self.object.pk, date self.object.name, self.object.pk, date
) )
# TODO csak egy maradhat!!
self.object.save_as_template_async(name=new_name, self.object.save_as_template_async(name=new_name,
user=request.user, user=request.user)
owner=request.user)
messages.success(request, _("Saving instance as template!")) messages.success(request, _("Saving instance as template!"))
return redirect("%s#activity" % self.object.get_absolute_url()) return redirect("%s#activity" % self.object.get_absolute_url())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment