Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sqlite3 with flask web application CRUD pdf

$ flask shell
>>> from app.models import Employee
>>> from app import db
>>> admin = Employee(email="admin@admin.com",username="admin",password="admin2016",is_admin=True)
>>> db.session.add(admin)
>>> db.session.commit()
Source by morioh.com #
 
PREVIOUS NEXT
Tagged: #flask #web #application #CRUD #pdf
ADD COMMENT
Topic
Name
9+2 =