mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-10 16:08:52 -06:00
17 lines
367 B
Python
17 lines
367 B
Python
from app import app, db
|
|
from app.models import Season, Episode, Section, Quote
|
|
|
|
@app.shell_context_processor
|
|
def make_shell_context():
|
|
return {
|
|
'db' : db,
|
|
'Season' : Season,
|
|
'Episode' : Episode,
|
|
'Section' : Section,
|
|
'Quote' : Quote
|
|
}
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run(host="0.0.0.0")
|