A snippet that provides a notifications middleware using sessions. This is much more useful than the contrib.auth message system, since it will work with anonymous users as well. It looks like it will make it to the Django’s contrib.sessions at some point (ticket #4604 is almost there), but in the meantime, this stand-alone middleware will do the job.
© Copyright 2001-2010 Taylan Pince. All rights reserved.