1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00

Modify org user add

This commit is contained in:
xiez
2012-07-27 11:39:55 +08:00
parent c39665081a
commit 862723e1d8
13 changed files with 357 additions and 172 deletions

View File

@@ -7,7 +7,7 @@ from django.template import RequestContext
from auth.decorators import login_required
from seaserv import ccnet_rpc, ccnet_threaded_rpc, seafserv_threaded_rpc, get_repo, \
get_group_repoids, check_group_staff, get_commits
get_group_repoids, check_group_staff, get_commits, get_personal_groups
from pysearpc import SearpcError
from models import GroupMessage, MessageReply
@@ -41,7 +41,7 @@ def group_list(request):
error_msg = e.msg
return go_error(request, error_msg)
groups = ccnet_threaded_rpc.get_groups(request.user.username);
groups = get_personal_groups(request.user.username);
return render_to_response("group/groups.html", {
"groups": groups,