Creating a User Login System Using Python, Flask and MongoDB

preview_player
Показать описание
You'll learn how to create a login system using Python, Flask, and Flask-PyMongo in this video. It's a common need for any web app, so watch this video if you haven't built your login system yet.

Рекомендации по теме
Комментарии
Автор

I can't thank you enough. Without this video, I would spend days or weeks trying to learn the same thing from other online resources. You have this incredible ability to make this a lot easier. Thank you so much!

santosh
Автор

I have to give you mad props for one thing: You do give a decent walkthrough of your stuff.

A lot of other "instructors" would not allow themselves to make an error or a typo, and effectively would re-do their casting to show themselves as perfect coders, often times confusing people as to "wait... why did he do this and not that?"
- "WELL if u had seen the bloopers, u'd have known that the other way nuked the world!"

But you post it with the very trivial mistakes that many coders do on a daily basis because we're all human, and that's inspiring for new-comers in python/Flask like myself :)

iCyberDev
Автор

Great video, my first attempt at python and got this working. Would be great to see a follow on video extending this with a todo. Thanks.

techtinker
Автор

Thank you! Your video really helps me a lot with my project. Very useful!

owenchen
Автор

Thank you so much Anthony, Your Video saved a lot of time, really like the way you explain. God Bless You

mrs.swaroopb
Автор

thanks for the awesome tutorial, it helps me a lot !

I use python 3.5.2, when I execute, there is an error message in line 25:
AttributeError: 'bytes' object has no attribute 'encode'

After some try, the problem is, and I delete the encode part. Just use 'login_user['password']', then it works.

Just want to share with someone stuck here like me.

jhih-sianwu
Автор

Hi there please can you make a video on how to use flask-login with flask-PyMongo, i am having trouble setting it up. All kind of references are also accepted.Thanks.

vivsh.
Автор

Excellent!, just a heads up, the user doesn't know if the username or password is wrong, but if they think a little more, they will find out that the username exist because of the delay while trying to hash/compare the passwords :) so all that is left is try to bruteforce :D

v
Автор

Getting an attribute error : 'bytes' object has no attribute 'encode'
How to resolve it?
Please reply soon

Swabhimaan
Автор

Thanks for watching everyone. Check out prettyprinted.com for Flask courses.

prettyprinted
Автор

Hey Anthony, just wanted to say thanks for the video.. really helped me get my head around it.. :-)

johnkneemtb
Автор

Great video. Really helped me create a user login with mongodb with ease. Thank you. Can you please also add a video for user logoff with flask/mongodb?

arctshr
Автор

Excellent, very well explained. Thanks a lot.

arborrell
Автор

Hey Anthony,
I got the following error while following your tutor;
sock_info = self.sockets.popleft()Open an interactive python shell in this frame

ochukoerewive
Автор

what if user enters the url of the page directly...how to restrict that

hasnenkhan
Автор

I'm getting the following error 'TypeError: 'Collection' object is not callable. If you meant to call the 'encode' method on a 'Collection' object it is failing because no such method exists.'

python 2.7

MatthewWhiteMW
Автор

Hey! Nice video. You have been a great help. Can you tell me how to add multiple users for that login page?

deepanshusharma
Автор

Hi,
I am getting the below error while executing the login_example.py


expected token 'end of print statement', got 'for'

sharadnhh
Автор

awesome tutorial for a beginner like me. Thanks alot. Found it very helpful!!..:D

radhikamanivannan
Автор

My return redirect(url_for('index)) doesn't work in the register. It doesn't redirect to the page at all. Does this have to do with being POST instead of GET? Can someone help me as to how to redirect to the desired page?

ananay
welcome to shbcf.ru