Commit 8789a0f1 authored by VAN ZUIJLEN Nils's avatar VAN ZUIJLEN Nils Committed by VAN ZUIJLEN Nils
Browse files

Use Contribution.current_type for users list

Instead of Contribution.type

Signed-off-by: VAN ZUIJLEN Nils's avatarNils VAN ZUIJLEN <>
parent bc4fc14f
......@@ -163,7 +163,7 @@ def edit(request: HttpRequest, username: str) -> HttpResponse:
def get_contrib(user: User) -> Optional[str]:
return user.contribution.type
return user.contribution.current_type
except Contributor.DoesNotExist:
return None
Supports Markdown
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