<s> from django . contrib . messages . api import get_messages <EOL> from django . contrib . messages . constants import DEFAULT_LEVELS <EOL> def messages ( request ) : <EOL> """<STR_LIT>""" <EOL> return { <EOL> '<STR_LIT>' : get_messages ( request ) , <EOL> '<STR_LIT>' : DEFAULT_LEVELS , <EOL> } </s>
