Commit 2131fd59 authored by Administrator's avatar Administrator

optimizing coung

parent 568ffe5c
......@@ -114,7 +114,7 @@ def project(request, project_id):
dashboard = dict()
dashboard['id'] = corpus.pk
dashboard['name'] = corpus.name
dashboard['count'] = len(corpus.get_children())
dashboard['count'] = corpus.get_children_count()
board.append(dashboard)
html = t.render(Context({\
......
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