El dia 10/09/2015 1.43, "Alejandro Brunacci" <abruna...@bitson.com.ar> va
escriure:
>
> Hi everyone, I'm trying to use Flask as frontend from Tryton, but because
the lack of documentation is making me crazy to solve some troubles...
>
> When I try to connect to the database, flask is looking for a sqlite's
database and I'm using postgres as db. Is there any way to change it? or
flask_tryton only works with sqlite?

When init app flask, you could define:

TRYTON_DATABASE = 'tryton_database'
TRYTON_USER = '1'
TRYTON_CONFIG = '/etc/trytond.conf'

http://hg.b2ck.com/flask-tryton/file/9565cf10a7b9/flask_tryton.py#l35

Reply via email to