Combine flour, nuts, and melted margarine. Press into bottom of a 13"×9"×2" Pyrex dish and bake at 350° for 30 minutes; cool crust completely. Mix cream cheese and sugar well; then fold in Cool Whip until mixed thoroughly. Spread mixture evenly over cool crust followed by cherry pie filling over top. Chill several hours before serving.