def messages(request):
 return {'messages': get_messages(request), 'DEFAULT_MESSAGE_LEVELS': DEFAULT_LEVELS}

def messages ( request ) : return { 'messages' : get_messages ( request ) , 'DEFAULT_MESSAGE_LEVELS' : DEFAULT_LEVELS }
returns a lazy messages context variable .