Great. Thanks Dan! On Jan 7, 10:44 am, Dan Hirsch <[email protected]> wrote: > try using HttpResponseRedirect > return HttpResponseRedirect instead of render_to_response > > On Thu, Jan 7, 2010 at 7:21 PM, gilbert F. <[email protected]> wrote: > > Hi Django community, > > > Here is a quick question that I would like to your help. There is an > > Ajax function in my views.py. As this Ajax function creates very big > > data, there seems to be a problem for the function to call call_back > > javaScript function therefore data gets lost. Now I am considering to > > present this large data to end users directly by passing the data to a > > template like > > > return render_to_response('reporting/traffic_2.html', ....) > > > I tested this however I found that the current webpage did not get re- > > directed to "traffic_2.html". Can anybody tell me how to do this re- > > direction? > > > Thanks so much. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<django-users%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

