One approach is to pass json/html data in the response after saving and use jQuery to update the page.
On 07/02/2012 05:12 PM, David wrote: > Hello > > I have a form that saves, and displays errors correctly when using > javascript and without. > > However, when my form saves I need to refresh the form with the new form > data. How can I pass the form object through json back to my template > please? > > Thank you for any help. > > -- > You received this message because you are subscribed to the Google > Groups "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/83FaoYuJjFQJ. > To post to this group, send email to django-users@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.
signature.asc
Description: OpenPGP digital signature