hi,

I'm using jQuery to send data to a view with is supposed to return
some Django objects (instances of a Restaurant model). Here's what I
do
1- some javascript detect the user's location in the client side
2- the location is sent to a view which select some instances of my
Restaurant model
3- these instances must be returned to the template.
How can I return these objects to the javascript in my template?
I'm not using render_to_response with my objects in the context since
I think it reloads the whole template? Is that right?

thanks
jul

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to