Hi Julien,

> I'd like to hear your advice on the best way to go with displaying
> form result notices.
>
> For example, after editing an object via a newform, the following page
> displays a notice that says "Object successfully updated".

There is no canonical "best way".  There are, instead, a bunch of
different ways, depending on what effect you are wanting.  That is,
you could return HttpResponseRedirect and send your users to a
"successfully updated" page.  Or, if you want them to stay on the same
form and just be alerted of a successful save, you could use Ajax to
send back to your page notification of successful save, and the
Javascript could display the notification.  It rather depends on what
makes sense for your application.  So tell us more about what you are
trying to accomplish.

---Peter

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