Mix kidney beans, onion, tomato, brown sugar, bacon, green pepper, and catsup together. In a greased pan bake at 350° F for 45 minutes.