2 Context processor for lightweight session messages.
4 Time-stamp: <2008-07-19 23:16:19 carljm context_processors.py>
7 from django.utils.encoding import StrAndUnicode
9 from django.contrib.messages.api import get_messages
11 def user_messages (request):
13 Returns session messages for the current session.
16 return { 'user_messages': get_messages(request) }