We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2987eea commit a280363Copy full SHA for a280363
.gitignore
@@ -99,3 +99,10 @@ ENV/
99
100
# mypy
101
.mypy_cache/
102
+
103
+#log
104
+/log
105
+.log
106
107
+#db
108
+.db
flask/sample/app.py
@@ -75,6 +75,9 @@ def post_content():
75
db_session.commit()
76
return redirect(url_for('all_users'))
77
78
+#
79
+init_db()
80
if __name__ == "__main__":
81
+ #init_db() #=>in here can't create tables!!
82
app.debug = True
- app.run(host = '0.0.0.0') # can access from anywhere
83
+ app.run(host = '0.0.0.0') # can access from anywhere
flask/sample/samples.db
0 Bytes
0 commit comments