Tweak how global DB session is created
no need to specify "record changes" flag here
This commit is contained in:
		
							parent
							
								
									9af7e38219
								
							
						
					
					
						commit
						d80844c1ed
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -35,7 +35,7 @@ from rattail.db import SessionBase | |||
| from rattail.db.continuum import versioning_manager | ||||
| 
 | ||||
| 
 | ||||
| Session = scoped_session(sessionmaker(class_=SessionBase, rattail_config=None, rattail_record_changes=False, expire_on_commit=False)) | ||||
| Session = scoped_session(sessionmaker(class_=SessionBase, rattail_config=None, expire_on_commit=False)) | ||||
| 
 | ||||
| # not necessarily used, but here if you need it | ||||
| TempmonSession = scoped_session(sessionmaker()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar