Commit 6d61b7b4 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

Merge branch 'project-member-name' into 'master'

setting project member name in set_captain_as_member

See merge request !24
parents dafcd674 1e86210c
Pipeline #6780 passed with stage
in 27 seconds
......@@ -109,4 +109,4 @@ def set_captain_as_member(instance, created, **kwargs):
# add captain as an admin member, if they've not already been added
if created and instance.captain is not None and\
not instance.members.filter(user=instance.captain).exists():
Member.objects.create(user=instance.captain, project=instance, is_admin=True)
Member.objects.create(user=instance.captain, project=instance, is_admin=True,
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 to comment