Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit 62df8dfa46dc3d41b784221d8033ec6ac9801989
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Thu Jan 10 22:00:11 2013 +0100
Add a default pathto the alembic configuration file
---------------------------------------------------------------
fedocal/default_config.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/fedocal/default_config.py b/fedocal/default_config.py
index 8203285..e8d867b 100644
--- a/fedocal/default_config.py
+++ b/fedocal/default_config.py
@@ -23,6 +23,8 @@
MA 02110-1301, USA.
"""
+import os
+
# url to the database server:
DB_URL = 'sqlite:////var/tmp/fedocal_dev.sqlite'
@@ -39,3 +41,7 @@ SMTP_SERVER = 'localhost'
# The cron job can be set with any frequency but fedocal_cron
CRON_FREQUENCY = 30
+
+# Path to the alembic configuration file
+PATH_ALEMBIC_INI=os.path.join(os.path.dirname(os.path.abspath(__file__)),
+ '..','alembic.ini')