def get(*args, **kwargs):
try:<EOL><INDENT>from invenio.modules.accounts.models import UserEXT<EOL><DEDENT>except ImportError:<EOL><INDENT>from invenio_accounts.models import UserEXT<EOL><DEDENT>q = UserEXT.query<EOL>return q.count(), q.all()<EOL>
Get UserEXT objects.