From 55c7b3a7174b691ca2fe8474d109d5d8496d766e Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 15 Dec 2011 18:29:44 +0530 Subject: [PATCH] path to sqlite db shud be absolute --- chaloBEST/chalobest.db | Bin 988160 -> 988160 bytes chaloBEST/settings.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/chaloBEST/chalobest.db b/chaloBEST/chalobest.db index fcedc825335c5ad1c7599989588e2a4f5fee4981..5a2deb823283efc453e710f1812d70378061170c 100644 GIT binary patch delta 365 zcmZozVbid}W`Z=M^F$eER%Zs?M^YP87Wi{8G37Hbvoqyy7L-V4s&5o!X7z2fbWAZe zOEEPtvPd*EGfGNIH8o92u`oz6F)+7GvoJL=OHOz6vP=$i3vDH1IQWHH-}R%JFv(%ZjXW zH0AQmb<2#*^)=!$k~AJsPWzafA0BRh rc$g80nShuXh*^M`6^Pk@m>q~YfS41Axqz4(h?fWcJ`+ z+|0Kb7@4;*FmGeN4U}8OJb7EVDhmSxgDOyk;v^B4#VipSK-~`+m>)790;<@_%xE{! yQM&oz;r54z8G)Dyh?#+y1&CRJm<@>8ftUk`If0l9h`E872Z(vMKRnDQ9{>Om89q4x diff --git a/chaloBEST/settings.py b/chaloBEST/settings.py index e6b49cd..29e2083 100644 --- a/chaloBEST/settings.py +++ b/chaloBEST/settings.py @@ -19,7 +19,7 @@ MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. - 'NAME': 'chalobest.db', # Or path to database file if using sqlite3. + 'NAME': join(PROJECT_ROOT, 'chalobest.db'), # Or path to database file if using sqlite3. 'USER': 'sanj', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.