if request.is_local():
    con = "sqlite://....."
else:
    con = "postgres://..."

db = DAL(con)

On Wed, May 23, 2012 at 12:06 PM, Jason Brower <encomp...@gmail.com> wrote:

> Locally I only want to use SQLite.  And on the deployment I want to use
> Postgres.
> Is there a way to make this happen automatically?
> BR,
> Jason Brower
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to