Commit 8668bbfe by Fábián János

bug fix:Transfer ownership

parent 1f4c2e78
......@@ -632,7 +632,7 @@ class TransferOwnershipView(CheckedDetailView, DetailView):
def post(self, request, *args, **kwargs):
form = TransferOwnershipForm(request.POST)
if not form.is_valid():
if request.POST.get('name') is None:
return self.get(request)
try:
new_owner = search_user(request.POST['name'])
......
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