my-emacs-d/snippets/python-mode/flask_sqlalchemy_model
2017-09-25 11:26:31 +02:00

10 lines
194 B
Plaintext

# -*- mode: snippet -*-
# name: flask_sqlalchemy_model
# key: model
# --
class ${1:name}(db.Model):
__tablename__ = '${2:tablename}'
id = db.Column(db.Integer, primary_key=True)
$0