暂时去掉普通用户的get.asset

pull/26/head
ibuler 9 years ago
parent 333ee713d4
commit 38c65dbea8

@ -80,7 +80,8 @@ def index_cu(request):
user = get_object(User, id=user_id) user = get_object(User, id=user_id)
login_types = {'L': 'LDAP', 'M': 'MAP'} login_types = {'L': 'LDAP', 'M': 'MAP'}
username = user.username username = user.username
posts = user.get_asset() # posts = user.get_asset()
posts = User.objects.all()
host_count = len(posts) host_count = len(posts)
new_posts = [] new_posts = []
post_five = [] post_five = []

Loading…
Cancel
Save