You basically want something like this? function1(request): return function2(request)
Sure, Django is "just" Python :-) 2007/9/18, Dushyant Sharma <[EMAIL PROTECTED]>: > > is it possible to return HttpResponse from another function > > like i have called a function say furnction1(request) and now is it > possible > > function1(request): > #normal statements > #here i call another function > function2(request) > return HttpResponse('bye') #just for example not useful here > > function2(request): > return HttpResponse('ok') > > > here it will return 'bye' but i want that the function call for > function2 should return 'ok' to the client browser > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---