Commit 9a62c974 by Chif Gergő

dashboard: fix: Remove the keyword dictionary when passing dictionary in render method

parent 6b6bd977
...@@ -682,7 +682,7 @@ class TransferOwnershipConfirmView(LoginRequiredMixin, View): ...@@ -682,7 +682,7 @@ class TransferOwnershipConfirmView(LoginRequiredMixin, View):
messages.error(request, _('This token is invalid or has expired.')) messages.error(request, _('This token is invalid or has expired.'))
raise PermissionDenied() raise PermissionDenied()
return render(request, self.template, return render(request, self.template,
dictionary={'instance': instance, 'key': key}) {'instance': instance, 'key': key})
def change_owner(self, instance, new_owner): def change_owner(self, instance, new_owner):
instance.owner = new_owner instance.owner = new_owner
......
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