db visibility fix for nailgun

This commit is contained in:
Nikolay Markov 2012-09-07 19:15:25 +04:00 committed by default
parent b40d10d04a
commit a02a9081f8

View File

@ -2,14 +2,14 @@
import posixpath
DATABASE_PATH = 'nailgun.sqlite'
DATABASE_ENGINE = 'sqlite:///%s' % DATABASE_PATH
PROJECT_PATH = posixpath.join(
posixpath.dirname(posixpath.abspath(__file__)),
".."
)
DATABASE_PATH = posixpath.join(PROJECT_PATH, 'nailgun.sqlite')
DATABASE_ENGINE = 'sqlite:///%s' % DATABASE_PATH
STATIC_DIR = posixpath.join(PROJECT_PATH, "static")
TEMPLATE_DIR = posixpath.join(PROJECT_PATH, "static")