flask-peewee

NOT NULL constraint failed: Time.start peewee

NOT NULL constraint failed: Time.start peewee Question: I’m trying to create a tables in Flask app. For creating DB I use peewee library. When run func, I receive an error: NOT NULL constraint failed: Time.start Can some one explain how to insert data in to database correctly models.py from peewee import * db = SqliteDatabase(‘report.db’) …

Total answers: 2