root / xap / tags / 0.1.5 / settings.py
| Revision 226:7bbf27312bd7, 258 bytes (checked in by Lafaye Philippe (RAGE2000) <lafaye@…>, 8 months ago) |
|---|
| Line | |
|---|---|
| 1 | import os |
| 2 | |
| 3 | curdir = os.path.dirname(__file__) |
| 4 | if curdir == '': |
| 5 | curdir = '.' |
| 6 | curdir = os.path.realpath(curdir) |
| 7 | |
| 8 | DB_FILE = os.path.join(curdir, 'data', 'chainon.xap') |
| 9 | |
| 10 | #DB_FILE = '/home/tarek/data' |
| 11 | |
| 12 | SQLURI = 'postgres://chainon:chainon@localhost/chainon' |
Note: See TracBrowser
for help on using the browser.
