I actually meant to link to the django-notices app, which has the
benefit of not requiring a SQL query per request, but had both open in
different tabs:
http://github.com/uggedal/django-notices/tree/master
-Rob
+1. Was hacking around with the auth stuff, and for the life of me
couldn't see how messages and authentication were the same thing in
any regard.
Ludvig Ericson
Agreed. However, doing this in a backwards-compatible manner is going
to be tricky.
> By doing so, however, Django would need to ship with a
> contrib.messages (or similar) app which brings with it other thoughts
> and considerations:
Probably it'd make sense to make this part of
``django.contrib.sessions``; there's no real way to pass messages
without at least an anonymous session.
Jacob
From the looks of it, the patch on
http://code.djangoproject.com/ticket/4604 is heading this direction
re: backwards compatible and part of contrib.sessions.
Maybe SmileyChris can speak to both of these points and if it could be
a potential solution?
Thanks,
Rob