示例#1
0
def profile(request, object_id=None, template_name='youraliss/profile.html'):
    object =  get_one_or_404(Account, local_id=str(request.user.id))
    return accounts_detail(request, object.id, template_name)
示例#2
0
def user_detail(request, object_id, template_name='enginecab/user_detail.html'):
    object = get_one_or_404(Account, id=ObjectId(object_id))
    return accounts_detail(request, object.id, template_name)
示例#3
0
def profile(request, object_id=None, template_name='youraliss/profile.html'):
    object =  get_one_or_404(Account, local_id=str(request.user.id))
    return accounts_detail(request, object.id, template_name)