Hi guys, thanks for your replies. What I'm trying to achieve is to give feedback with a quick notice each time the user accomplishes an action (e.g. create/edit/delete/ send/etc.). So I need a quite generic and flexible solution.
The "Messages" solution pointed out by James looks very good, except that it only works when the user is authenticated. The same article also mentions that to make it work for non authenticated users you should use sessions: http://www.djangoproject.com/documentation/sessions/ I'll look into it, but before I go too far down one track, could anybody give some advice on how to approach it using sessions? Cheers! Julien On Dec 21, 12:39 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Dec 20, 2007 6:09 AM, Julien <[EMAIL PROTECTED]> wrote: > > > 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". > > It's documented here: > > http://www.djangoproject.com/documentation/authentication/#messages > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---