Hi Richard,

Can you give an example of what you are suggesting?

> One thing that you can do is to pass a
> render_to_response call a template and the python dictionary you want
> modified and let django work its majic on it before returning the
> '._container' to the page via json.

Thanks.

To Olivier: Iterating through javascript like that is possible, but it
poses a disadvantage in that I cannot access the data's related object
(e.g. ForeignKey relationships).
For example I can do data[0].fields.user and I'd get "3" as a
response, but I cannot do data[0].fields.user.username, where user is
a foreignkey. Whereas in Django I can do something like this:
manager.user.username and I'd get the user name.

Thanks for the responses, all.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to