phytopi/phytopi.py
2019-01-31 14:49:46 +01:00

6 lines
184 B
Python

from phytopi import app, db
from phytopi.models import Dataset, Image
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'Dataset': Dataset, 'Image': Image}