Swearing mother banned from son's school