Skip to content

Instantly share code, notes, and snippets.

View nguyenkims's full-sized avatar
🎯
Focusing

Son Nguyen Kim nguyenkims

🎯
Focusing
View GitHub Profile
@nguyenkims
nguyenkims / example.py
Last active January 20, 2016 08:46
Multiple database foreign key with Flask-SQLAchemy
import os
import flask
from flask import Flask
from flask.ext.cors import CORS
from flask.ext.sqlalchemy import SQLAlchemy
basedir = os.path.abspath(os.path.dirname(__file__))
app = Flask(__name__)