Commit cf62753c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Move database connection parameter in the private file _db.py.

parent ab6c1263
......@@ -5,12 +5,6 @@
Define constants for the different role
"""
# Production at localhost
DB_HOST = 'localhost'
DB_USER = 'GesProd'
DB_PWD = 'Prod_CPPM'
DATABASE = 'lhcbfrance'
# Migration flags
MIGRATE = False
MIGRATE_USER = False
......@@ -30,13 +24,6 @@ try:
except:
raise HTTP(500, T("Can't access the MySQL database !!!"))
#-------------------------------------------------------------------------------
#
# SQLITE database (test)
#
#-------------------------------------------------------------------------------
# db = DAL('sqlite://storage.sqlite', lazy_tables=False, migrate_enabled=MIGRATE)
#-------------------------------------------------------------------------------
#
# virtual database
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment