i want my 'user_id' to be passed from detail function to edit profile
function but how?? need help

def detail(request,user_id):
    details = get_object_or_404(User, pk=user_id)
    return render(request, 'company/detail.html',{'details':details})



def edit_profile(request):
    return render(request, 'company/edit_profile.html')

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMtmBS9v8TppM55c__92m_r5q601Me%2B-OB2LuW4HdNFwuh_33Q%40mail.gmail.com.
  • [no subject] Paras Jain
    • Re: Raja Sekar Sambath
      • Re: Kasper Laudrup
        • Re: Paras Jain

Reply via email to