Hello, I wish to make an app that takes id (as integer ) from the user and displays details. I am using GET to take the value from the user to the view. Now I have the id in variable uid in a function disp_list().
def disp_list(request): uid = request.GET['id_user'] ed_user=getfrmdb(uid) return render_to_response('details.html', {'id':ed_user.id,'name':ed_user.name, 'addr':ed_user.address,'email':ed_user.email, 'ph':ed_user.phone,'comm':ed_user.comments}) This is working fine. But... I have another function in the same view to edit this and I need to pass this value [uid] to it. If I try to pass as an arguement, the url conf gives error. Can you tell me some other way? I'm just a beginner, so forgive if I missing something obvious. Thank u. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---