Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
5
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8668bbfe
authored
2 years ago
by
Fábián János
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix:Transfer ownership
parent
1f4c2e78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
circle/dashboard/views/util.py
+1
-1
No files found.
circle/dashboard/views/util.py
View file @
8668bbfe
...
@@ -632,7 +632,7 @@ class TransferOwnershipView(CheckedDetailView, DetailView):
...
@@ -632,7 +632,7 @@ class TransferOwnershipView(CheckedDetailView, DetailView):
def
post
(
self
,
request
,
*
args
,
**
kwargs
):
def
post
(
self
,
request
,
*
args
,
**
kwargs
):
form
=
TransferOwnershipForm
(
request
.
POST
)
form
=
TransferOwnershipForm
(
request
.
POST
)
if
not
form
.
is_valid
()
:
if
request
.
POST
.
get
(
'name'
)
is
None
:
return
self
.
get
(
request
)
return
self
.
get
(
request
)
try
:
try
:
new_owner
=
search_user
(
request
.
POST
[
'name'
])
new_owner
=
search_user
(
request
.
POST
[
'name'
])
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment