Flask Project

Hello, fellow learner, I have completed basic flask which had included login, register, authentication and routing. Here I am sharing project deployed link
https://still-taiga-82039.herokuapp.com/
please check
Thanks in advance

1 Like

Nice. Welcome to the flask world!

1 Like

Good job! I have a working flask app, but I’m having a hard time using the @login_required tag. Would you be willing to share your code so I could try to learn how to do it?

Sure but what problem you’re facing

If I use the login_required tag, it just redirects me to log in again. I can’t get it to actually login and load the user unless I comment out that tag.

where are you using @login_required decorator

In the “/user/” route

Why would you fetching user?