Skip to main content
0 votes
1 answer
20 views

Flask app: AttributeError: 'NoneType' object has no attribute 'getconn' when using connection pool with psycopg2

I am new to Flask development, and I have spent many hours developing my app, but I'm not able to link my database to the app. I keep getting this error: AttributeError AttributeError: 'NoneType' ...
Luca's user avatar
  • 1
0 votes
0 answers
21 views

Flask App Redirecting to Login Page Instead of Admin Users Page

I'm currently developing a Flask web application that includes an admin dashboard. However, I'm facing an issue where clicking on the "View Users" link redirects me to the login page instead ...
Misbagas's user avatar
0 votes
0 answers
21 views

If user queries server or jumps to another dashboard, the session information gets lost

I am having issues trying to find a solution for keeping the authentication of a user using plotly dash with flask and gunicorn. It seems that if another user queries the server or even after a while ...
Daniel's user avatar
  • 101
0 votes
0 answers
29 views

Flask tests : RuntimeError: Working outside of application context

I see here that I don't really understand the concept of "context"... My app is at the very beginning and I only have a Welcome page. Now I added the flask_login routine with very simple ...
gbetous's user avatar
  • 145
0 votes
0 answers
44 views

How to create User class to deal with flask-form and pymysql

I'm trying to build a flask app, normally I use SQ lite with sqlalchemy, but i use flask-login to handle all the login now I m switching to using MySQL and for the database connecter I choose to use ...
michael oska's user avatar
1 vote
1 answer
26 views

Can't get User table to update sqlite database from user profile page - Python Flask Sqlite

I am currently trying to build a user profile page with Python using Flask and SQlite. I've managed to create the profile page to display the current users information. A button on the profile page ...
andyhughes73's user avatar
0 votes
0 answers
45 views

Flask Google sing in - protected routes still accessible after logout

I'm working on a Flask project, where I have implemented Google sign in option using authlib and also using Flask SocketIO to send and recieve data from server to browser and from browser to server ...
Abdul Rehman's user avatar
  • 5,616
0 votes
0 answers
24 views

login error: Flask Authentication Code Not Finding Username in Database After Project Migration

I am currently working on a Flask application and I have encountered an issue with the authentication code that I previously used in another application. The code was functioning correctly in the ...
Костя Кухта's user avatar
0 votes
0 answers
51 views

Flask authorization in ldap

Good afternoon. I need to connect Active Directory (LDAP) authorization to flask. We managed to do this using the flask_ldap3_login library. However, I need access to a specific page to be allowed ...
Arthur's user avatar
  • 1
0 votes
0 answers
33 views

Check50 not found Flask_login module

I have issue with flask_login not found when running CS50 problem set 9 Check50. App itself running well, flask has to errors. when trying to make Check50 receiving faults because it cant find and ...
OFFvlady's user avatar
0 votes
2 answers
51 views

Flask-it keeps saying "Method Not Allowed" [duplicate]

I am using Flask to build my web. It keeps saying "Method Not Allowed" when I run app.py and navigate to the login page. I am not sure where I have gone wrong. Please help. Here's my app.py: ...
Bee Dog's user avatar
0 votes
0 answers
26 views

Flask user authentication including login, register and google login not integrated together

https://www.freecodecamp.org/news/how-to-setup-user-authentication-in-flask/ I have made the basic user authentication using the above link but i am unable to add the google login. I have tried many ...
Aryan Chaudhary's user avatar
0 votes
0 answers
18 views

Flask-Login with 2 Tables

On my website, I need two tables for two types of users: Patients and Psychologists. Can I use Flask-Login for these two tables so I can manage logins for both Patients and Psychologists? Initially, I ...
user25623849's user avatar
0 votes
0 answers
81 views

Latest version of Flask will not run

flask run ends with the error ImportError: cannot import name '_request_ctx_stack' from 'flask' Common question it seems, but I cannot find a straight answer for any recent versions of Flask. At ...
Andy Frey's user avatar
  • 161
0 votes
1 answer
39 views

Flask login to a custom page

By Default when using flask login it expects a path /login. I am trying to use another page /test/login but it is not working and giving error. Here is the required code snippet. Please let me know ...
Amol's user avatar
  • 471

15 30 50 per page
1
2 3 4 5
73