mirror of
				https://github.com/StefBuwalda/dashboard_test.git
				synced 2025-10-31 03:39: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() |     upgrade() | ||||||
|  |  | ||||||
|  |  | ||||||
| class logs(db.Model): |  | ||||||
|     id = db.Column(db.Integer, primary_key=True) |  | ||||||
|     dateCreated = db.Column(db.DateTime, nullable=False) |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @app.route("/") | @app.route("/") | ||||||
| def homepage(): | def homepage(): | ||||||
|     return render_template("home.html", services=services) |     return render_template("home.html", services=services) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user