[sqlalchemy] Sqlalchemy, Flask-User scoped_session

2015-03-16 Thread Wolf Reitsamer
Hi everyone, I can't get the following straight although I guess it's a pretty obvious thing, since I haven't found much about this topic online. I wrote a little python/flask/sqlalchemy based web-service where I want users to register themselves to post something. I also use flask-admin,

Re: [sqlalchemy] Sqlalchemy, Flask-User scoped_session

2015-03-16 Thread Simon King
On Mon, Mar 16, 2015 at 1:41 PM, Wolf Reitsamer wolf.reitsa...@gmail.com wrote: Hi everyone, I can't get the following straight although I guess it's a pretty obvious thing, since I haven't found much about this topic online. I wrote a little python/flask/sqlalchemy based web-service where I

Re: [sqlalchemy] Sqlalchemy, Flask-User scoped_session

2015-03-16 Thread Jonathan Vanasco
On Monday, March 16, 2015 at 10:22:27 AM UTC-4, Simon King wrote: It sounds like flask-user assumes that you are using Flask-SQLAlchemy's special declarative_base class. I think that as long as you use Flask-SQLAlchemy's session (which is a scoped_session) and declarative_base

Re: [sqlalchemy] Sqlalchemy, Flask-User scoped_session

2015-03-16 Thread Wolf Reitsamer
Thanks a lot, guys! Both your answers were very helpful. -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this