Skip to content
Snippets Groups Projects
Verified Commit 8a8b30e3 authored by magicfelix's avatar magicfelix Committed by Jonathan Weth
Browse files

Fix DoesNotExistError in InvitePerson view

(cherry picked from commit 8513c8fd)
parent f988e45a
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ class PersonColumn(tables.Column):
"""Returns person object from given id."""
def render(self, value):
return Person.objects.get(user__id=value)
return Person.objects.get(pk=value)
class InvitationCodeColumn(tables.Column):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment