Ask coding questions

← Back to all posts
My form validation isnot working
A036Nikhil

I am learning flask via Corey Schafer video but in form validation topic, his form validation is working but not mine.
please help

Voters
A036Nikhil
Comments
hotnewtop
isaiah08

Not sure what's wrong. Answer to your question in forms.py line 5:
Classes are the basics of object oriented programming. They can be used to store methods (functions or variables). Classes show up all the time in packages. For example, flask.Flask is a class. (render_template, on the other hand, is a function.) For more info on object oriented programming, go here:
https://realpython.com/python3-object-oriented-programming/