summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-04-11 01:14:49 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-04-11 01:14:49 +0200
commit0567318344330295512176569a84afc9748d79c5 (patch)
treeb2ccd2e5ba3e254a945143060f31bdd4d42c921c /settings.py
parent5bf8a03dae494f1625d3d5eeee5ffd6396b730fa (diff)
downloadkosten-0567318344330295512176569a84afc9748d79c5.tar.gz
kosten-0567318344330295512176569a84afc9748d79c5.tar.bz2
kosten-0567318344330295512176569a84afc9748d79c5.zip
First part of the transition to flask
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/settings.py b/settings.py
new file mode 100644
index 0000000..0effb96
--- /dev/null
+++ b/settings.py
@@ -0,0 +1,11 @@
+import os
+
+# set this to False on productive systems
+DEBUG = True
+
+# just generate a new secret key on each startup
+SECRET_KEY = os.urandom(42)
+
+# database
+SQLALCHEMY_DATABASE_URI = "sqlite:///test.sqlite"
+SQLALCHEMY_ECHO = True