Commit 6ec81c90 authored by Romain Loth's avatar Romain Loth

microbug: user.nodes().count() vs len()

parent 883a52c1
......@@ -48,7 +48,7 @@ def overview(request):
'debug': settings.DEBUG,
'date': datetime.now(),
# projects owned by the user
'number': len(user_projects),
'number': user_projects.count(),
'projects': user_projects,
# projects owned by the user's contacts
'common_users': (contact for contact, projects in contacts_projects),
......
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