default 0 access count, added mini logging prints, fixed minor fails and mostly ready to implement proxies

This commit is contained in:
Xevion
2019-12-24 17:01:09 -06:00
parent 250b39b462
commit d6124698af
3 changed files with 26 additions and 8 deletions

View File

@@ -1,9 +1,10 @@
from app import app, db
from app.models import User, Post, Search
from app.sound_models import YouTubeAudio, SoundcloudAudio
@app.shell_context_processor
def make_shell_context():
return {'db' : db, 'User' : User, 'Post' : Post, 'Search' : Search}
return {'db' : db, 'User' : User, 'Post' : Post, 'Search' : Search, 'YouTubeAudio' : YouTubeAudio, 'SoundcloudAudio' : SoundcloudAudio}
if __name__ == "__main__":
app.run(host="0.0.0.0")