On 11/13/06, jp <[EMAIL PROTECTED]> wrote:
> Something that is fairly common in web applications are indicator
> messages. For example, after you've posted an article, the site should
> echo back to you 'Article x created'. This is important because it
> let's the user know what is going on.

You might want to check out the 'messages' feature of the auth app[1],
which essentially does the same thing, and has support via a context
processor to ensure it shows up in any view that uses RequestContext
(which includes all of the generic views). The messages you see in the
admin about "object was created successfully" or "object was updated
successfully" are examples -- they're Message objects which are
attached to your user when you take a particular action, and cleared
after being displayed.

[1] http://www.djangoproject.com/documentation/authentication/#messages

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to