Learn

In this lesson we learned:

  • How to access form data using the request object
  • Control path selection with route function names using url_for()
  • Create a web form structure using FlaskForm and WTForm fields
  • Create a web form in the templates using FlaskForm variables
  • Utilize field validators for increased data integrity
  • Use redirect() to change paths easily within the app

Being able to utilize Python classes to handle forms is a very efficient process. Organizing form data using the functionality of FlaskWTF and WTForms can be easily achieved.

Navigate through the site and review the files to look at what you accomplished in this lesson.

Instructions

Great Work! Explore the app and move on when ready.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?