djangosnippets.org: Latest snippets posted by alexkhttps://djangosnippets.org/users/alexk/2008-09-17T20:35:16.519274-05:00alexkCookie based flash errors and notices (a la Rails)
2008-09-17T20:35:16.519274-05:00alexkhttps://djangosnippets.org/snippets/1064/<p>This is a light-weight flash implementation. Instead of hitting the database it uses cookies. The messages are shown to the user only once, after that the cookies are deleted.</p>
<p>I tested it on Google App Engine, but it should work on vanilla Django as well, there's no GAE specific code. …</p>
Freely redistributable