for debbug in web2py put tha in the view:
{{=response.toolbar()}}
more info:
http://web2py.com/book
El martes, 27 de agosto de 2013 11:06:26 UTC-5, Gallien Labeyrie escribió:
>
> Hello,
>
> Coming from a PHP background, I've recently discovered Web2Py framework
> and I am amazed Its embed functionalities.
> However I'm wondering If someone among the community could enlighten me :
>
> - What's the easiest way to debbug in web2py ? (=> what would be the
> equivalent to dump variable content such as print_r() in php ?)
> I tried PDB but I don't find It really convinient...
> - How to connect an external MySQL database ?
> According to the official docs I tried the script given*
> extract_mysql_models.py *
> but It only gives me a one line script like with the string connection.
> (It doesn't generate the model ?)
>
> legacy_db = DAL('mysql://password@somewebsite/dbname')
>
> I put that line in a model file, but It doesn't seems to work. Plus I
> still have to declare all the tables manually which is a bit boring ...
>
> - Except the official website, are there any other useful resources online
> ?
>
> Thanks for the help,
>
> Gallien LABEYRIE
>
--
---
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.