Skip to content

Instantly share code, notes, and snippets.

@nickknissen
Created September 25, 2013 11:25
Show Gist options
  • Save nickknissen/6698311 to your computer and use it in GitHub Desktop.
Save nickknissen/6698311 to your computer and use it in GitHub Desktop.
import os
import sys
base_path = os.path.dirname(os.path.abspath(__name__))
sys.path.append(os.path.join(base_path))
from app.models import db
target_metadata = db.metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment