<filename>snippets/create.py<gh_stars>100-1000
from models import User

user = User.create(name='jack', email='<EMAIL>')  # model instance

user = User(name='Kate', email='<EMAIL>')
user.save()  # last insert id

<filename>snippets/create.py<gh_stars>100-1000
from models import User

user = User.create(name='jack', email='<EMAIL>')  # model instance

user = User(name='Kate', email='<EMAIL>')
user.save()  # last insert id

# model instance # last insert id