pallets-eco / flask-security-3.0

Quick and simple security for Flask applications
MIT License
1.63k stars 512 forks source link

flask-security with psycopg2 #745

Open luvkaggarwal opened 6 years ago

luvkaggarwal commented 6 years ago

Is there a way of using flask-security with psycopg2. I do not wish to use an ORM and sqlalchemy is slower as compared to psycopg2. However, in all the examples and documentations that I have gone through, I haven't found a way of using flask-security with psycopg2. Is it even possible?

jirikuncar commented 6 years ago

@luvkaggarwal it is possible, but you need to implement your own Datastore.