mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-29 18:59:57 +00:00
Added logs.html for the logs page Changed dashboard.html so the numberplates show on the dashboard Moved models.py to to the dashboard folder
8 lines
210 B
Python
8 lines
210 B
Python
from application import db, app
|
|
from application.dashboard.models import AllowedPlate
|
|
|
|
with app.app_context():
|
|
AllowedPlate.query.delete()
|
|
db.session.add(AllowedPlate("MUN389"))
|
|
db.session.commit()
|