mirror of
				https://github.com/StefBuwalda/dashboard_test.git
				synced 2025-10-30 19:29:58 +00:00 
			
		
		
		
	Moved basic db class/model to models.py
This commit is contained in:
		
							
								
								
									
										5
									
								
								app.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								app.py
									
									
									
									
									
								
							| @@ -25,11 +25,6 @@ with app.app_context(): | ||||
|     upgrade() | ||||
|  | ||||
|  | ||||
| class logs(db.Model): | ||||
|     id = db.Column(db.Integer, primary_key=True) | ||||
|     dateCreated = db.Column(db.DateTime, nullable=False) | ||||
|  | ||||
|  | ||||
| @app.route("/") | ||||
| def homepage(): | ||||
|     return render_template("home.html", services=services) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user