`from invenio.modules.messages.models import` -> `from .models import`
in general
`from invenio.modules.messages.` -> `from .`