Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bewype/flask/_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'bewype/flask/_app.py')
-rw-r--r--bewype/flask/_app.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/bewype/flask/_app.py b/bewype/flask/_app.py
new file mode 100644
index 0000000..c18a1ba
--- /dev/null
+++ b/bewype/flask/_app.py
@@ -0,0 +1,12 @@
+# (C) Copyright 2010 Bewype <http://www.bewype.org>
+
+# flask import
+from flask import Flask
+
+app = Flask(__name__)
+app.secret_key = 'abcdefg'
+
+
+def run_app():
+ app.debug = True
+ app.run()