In a skillet, over medium heat, saute beef, sausage, onion and garlic until the meat is cooked. Add the tomato sauce, tomato paste, basil and oregano. Simmer 30 minutes.
Meanwhile, cook spaghetti according to package directions. Drain and chop into pieces. Combine with butter, parmesan and egg and press into the bottom of a 12" pie pan. Spread with ricotta, then meat sauce. Top with mozzarella. Bake at 350 for 30 minutes.