You can just use the import statement. Web2py code is just Python code running
in a web environment. Just know that at every web request all model files are
executed, and after that the controller file that corresponds with the URL of
the request. The view file with the same name is used to pro
Can you maybe show me a simple example of how i can import the http.client
module in my cotrols
On Sat, 22 Sep 2018 at 09:43, Dave S wrote:
>
>
> On Thursday, September 20, 2018 at 6:49:23 AM UTC-7, Leonel Câmara wrote:
>>
>> The module I'm referring to is obviously the one you mentioned
>> (htt
what if the css is embeded in my html folder like wrote:
> An url in css is relative to the place where you have the stylesheet.
> Assuming you have it in static/css then the correct url would be
> url(../images/byo.jpg)
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Docume
I have a table called *Customers* that has a field *Booked_By* which
references *auth_user,* when i attempt to display the details of Booked_By
in one view* (viewBookings) *with *db(...).select()* all i get are
their IDs but when i display them in another view* (Client_Updates)* with
*SQLFO
is it possible to place an image with MARKMIN and not with absolute size in
pixel?
For example:
[[alt-string for the image [the image title]
http://www.web2py.com/examples/static/web2py_logo.png right *width=100%
height=auto*]]
--
Resources:
- http://web2py.com
- http://web2py.com/book (Doc
I am trying to use the first method but i am failing to get the desired
results, how do i check the availability of the selected and wanted room??
This is my controller code but i figured it not gonna give me results even
when i started writing it:
*CONTROLLER:*
*def index():form=
6 matches
Mail list logo