Skip to content

Instantly share code, notes, and snippets.

View jirikuncar's full-sized avatar
💭
👨‍💻

Jiri Kuncar jirikuncar

💭
👨‍💻
View GitHub Profile
@tonyseek
tonyseek / demo.py
Last active August 23, 2017 04:52
Use "mixin" to make a mapped class be commentable with SQLAlchemy.
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import datetime
from flask import Flask
from mixins import db
from models import Post, User