Flask Tutorial Web Development with Python 15 - User Registration

preview_player
Показать описание
Welcome to part 15 of our Flask web development tutorial, in this video we discuss how to create our user registration system.

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Комментарии
Автор

Hi Guys,


Getting ModuleNotFoundError: No module named 'flask_wtf' even though the package is installed in virtual environment.
Tried explicitly adding the path to sys.path but still it is not able to find the module.
Have gone through everything on StackOverflow but nothing seems to work. I am able to import flask_wtf in python interpreter inside venv.
Please help if anybody faced a similar problem.


pip -V
pip 19.0.3 from (python 3.6)



pip freeze
Click==7.0
Flask==1.0.2
Flask-WTF==0.14.2
itsdangerous==1.1.0
Jinja2==2.10
MarkupSafe==1.1.1
mysqlclient==1.4.2.post1
PyMySQL==0.9.3
Werkzeug==0.14.1
WTForms==2.2.1

harshk
Автор

can someone suggest a way to push flask code on a website

saketmehrotra
Автор

Would anyone happen to know why my import is failing? It's causing 500 errors in my code.
I've done 'pip install flask-WTF'

from flask_wtf import Form
from wtforms import TextField, BooleanField, validators, PasswordField

I've tried the same replacing TextField with StringField still no dice! Any suggestions would be awesome. I've also written it exactly as shown in the tutorial, obviously :)

mingyjj
Автор

can u please tell me by a video how to show a modal pop up on clicking submit button in flask but this modal should contain some result with dropdown and by clicking on submit button inserted record should be updated

sidaxn
Автор

I got an error
when I try to install flask-wtf, its installing in the python 3.6 version and not in the python 2.7 and when I try to import from python 2.7, its not working.

I have a doubt, what version we are exactly follow, is it python 2.7 or 3.6?

koms
Автор

why you need to restart apache every time you make a change to your python files? keep up the good work! thanks...

cocotu
Автор

hey.. sentdex,
how can we change the width of wtform field say the input field, like used for username and password.
please suggest

aakashnarang
Автор

Hi sentdex, i keep getting an indentation error with the session function. if i leave is out the code works. This session function works in the login section though, so im very confused. any recomendations for what i should be looking at?

thomasibbotson
Автор

How do I use my file to populate rows and columns in html (flask)

Ghost-ali
Автор

How can I retrieve my data from my database and show it to my webpage?

paulhenryson
Автор

I can't believe there isn't many comments. Oh yes, I thought the same the thing WTF (What The...FFFF Forms?). Great tutorials and I subscribed to your informative channel.

FandangleProductions
Автор

Hi How to add a validators unique field on create form? Thanks

ezaraffandiinzouddine
Автор

Why don't you have to be in your virtual environment when installing these libraries like WTF and MySQLdb?

jeremyinvictus
Автор

You can always do pip search <package name>

AliHaris
visit shbcf.ru