mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-08 08:09:03 -06:00
added search history table
This commit is contained in:
4
wsgi.py
4
wsgi.py
@@ -1,9 +1,9 @@
|
||||
from app import app, db
|
||||
from app.models import User, Post
|
||||
from app.models import User, Post, Search
|
||||
|
||||
@app.shell_context_processor
|
||||
def make_shell_context():
|
||||
return {'db' : db, 'User' : User, 'Post' : Post}
|
||||
return {'db' : db, 'User' : User, 'Post' : Post, 'Search' : Search}
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0")
|
||||
Reference in New Issue
Block a user