Exemplo n.º 1
0
def account(request, template_name='youraliss/account.html'):    
    object =  get_one_or_404(Account, local_id=str(request.user.id))
    return account_edit(request, object.id, template_name, next='youraliss')
Exemplo n.º 2
0
def user_edit(request, object_id, template_name='enginecab/user_edit.html'):
    object = get_one_or_404(Account, id=ObjectId(object_id))
    return account_edit(request, object.id, template_name, next='cab_user_detail')
Exemplo n.º 3
0
def account(request, template_name='youraliss/account.html'):
    object =  get_one_or_404(Account, local_id=str(request.user.id))
    return account_edit(request, object.id, template_name, next='youraliss')