Persistance.
This commit is contained in:
		
							parent
							
								
									87895a72d3
								
							
						
					
					
						commit
						aec9ffd1a1
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -3,6 +3,7 @@ | |||||||
| .resources | .resources | ||||||
| .backup* | .backup* | ||||||
| docs | docs | ||||||
|  | snek.d* | ||||||
| *.db* | *.db* | ||||||
| *.png | *.png | ||||||
| # ---> Python | # ---> Python | ||||||
|  | |||||||
| @ -107,7 +107,7 @@ class Application(BaseApplication): | |||||||
|         return await super().render_template(template, request, context) |         return await super().render_template(template, request, context) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| app = Application() | app = Application(db_path="sqlite:///snek.db") | ||||||
| 
 | 
 | ||||||
| if __name__ == "__main__": | if __name__ == "__main__": | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user