Skip to content

Commit

Permalink
Quick fix for membership creation with multi committees.
Browse files Browse the repository at this point in the history
#TODO: Better handling.
  • Loading branch information
yaniv14 committed Jun 14, 2016
1 parent 2cbdd09 commit 7a22f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def create_membership(user):
except:
pass
i.delete()
return m
return obj

if request.user.is_authenticated():
if 'join' in request.POST:
Expand Down

0 comments on commit 7a22f7d

Please sign in to comment.