On Friday, 1 March 2013 00:44:00 UTC-6, Vasile Ermicioi wrote:
>
> hi,
>
> a few questions 
> 1)
> flask example doesn't work if I use flask routing with parameters
> @app.route('/place/<int:place_id>',methods=['GET','POST'])
> @wrapper(view='templates/place.html')
> def place(place_id):
>     return dict()
>
> raises an error 
>
> do you have an example with parameters?
>
> 2) How to update gluino code from current web2py trunk?
>

It has not been updated in a while. I will update next week. 

>
> 3) Why reconnect to the database on each request?
> gluino/wrapper.py  line 20:
> for db in self.dbs: db._adapter.reconnect()
>

reconnect() does not do a new connection ate every request. It uses 
connection pooling. 

>
> I thought if connection is lost it will try to reconnect by itself
>
>
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to