Changeset a6afc41 in osmose-frontend


Ignore:
Timestamp:
Mar 8, 2014 7:05:21 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
ab4e907
Parents:
c68229b
Message:

Change to a db connection through unix socket instead of tcp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osmose.py

    r034ae3f ra6afc41  
    2121 
    2222import bottle_pgsql 
    23 app.install(bottle_pgsql.Plugin("host='localhost' dbname='%s' user='%s' password='%s'" % (utils.pg_base, utils.pg_user, utils.pg_pass), dictrows=False)) 
     23app.install(bottle_pgsql.Plugin("dbname='%s' user='%s' password='%s'" % (utils.pg_base, utils.pg_user, utils.pg_pass), dictrows=False)) 
    2424import bottle_gettext, os 
    2525app.install(bottle_gettext.Plugin('osmose-frontend', os.path.join("po", "mo"), utils.allowed_languages)) 
Note: See TracChangeset for help on using the changeset viewer.