Closed scls19fr closed 8 years ago
Hi,
we might remove classes Event, Card, Reader from cli_rpi_access.py as there is now events.py, cards.py, readers.py
Event
Card
Reader
cli_rpi_access.py
events.py
cards.py
readers.py
Kind regards
PS: in many SQLAlchemy tutorials, I noticed that models often inherits from db.Model (not Base) see http://flask-sqlalchemy.pocoo.org/2.1/quickstart/ not sure if we need to do something similar
db.Model
Base
Hi,
we might remove classes
Event
,Card
,Reader
fromcli_rpi_access.py
as there is nowevents.py
,cards.py
,readers.py
Kind regards
PS: in many SQLAlchemy tutorials, I noticed that models often inherits from
db.Model
(notBase
) see http://flask-sqlalchemy.pocoo.org/2.1/quickstart/ not sure if we need to do something similar