def send_info(request, msg): send_msg(request, msg, messages.INFO, 'infomsg')
def send_error(request, msg): send_msg(request, msg, messages.ERROR, 'errormsg')