Then I think I completely misunderstood your problem and what your goal is.
What is it you're trying to do?
Where is your present template? If you mean that you want the template
file named index.html, then you can simply rename my order.html file and
change the name in the controller code.
Yes that works , but it only focuses on my form not my template. How can i
contain it as a form on my present template as I am doing with the LOAD
function.
On Friday, August 4, 2017 at 5:15:17 PM UTC+1, Jim S wrote:
>
> Your db.py is fine.
>
> default.py should contain:
> def order():
>
Thanks Massimo and I will be very interested to try a Vue.js example.
In the meantime, I have experimented with Datatables some more. I wrote
my own sql and used executesql and then fed the entire resultset all at
once into Datatables. My rows are in the hundreds rather than thousands,
but
Thanks for the help, it works. However, this alters the table definition.
1) Is there a way that the value is only set temporarily ?
2) When the address field is empty, can I use other fields , like city,
country and etc?
On Saturday, August 5, 2017 at 9:10:25 PM UTC+2, Anthony wrote:
>
> The
The "represent" attribute controls the display of read-only data in grids
and read-only forms (or read-only fields). The values shown in the select
element in a form are controlled by the validator, which defaults to
IS_IN_DB for a reference field. The values shown in the select element
Hi all,
I have been hitting the wall for probably a simple problem.
I have 2 tables sales order and customer, db.sales_order.customer reference
customer table.
db.define_table('customer',
auth.signature,
Field('name', 'string', requires=IS_NOT_EMPTY(),
Hi,
Hope to save someone with the same problem some time:
i encountered a problem running web2py in a docker; the admin password as
set from the start command was not recognised when trying to log into the
admin interface.
Wrong dockerfile snippet:
EXPOSE 8000
CMD ["/usr/bin/python",
If I import ssl directly in the main.py module I get the following error:
Traceback (most recent call last):
File "C:\web2py\web2py.py", line 21, in
import gluon.widget
File "C:\web2py\gluon\widget.py", line 26, in
from gluon import main, newcron
File "C:\web2py\gluon\main.py",
Actual Rocket code:
# Import System Modules
import sys
import time
import socket
try:
import ssl
has_ssl = True
except ImportError:
has_ssl = False
# Import Package Modules
# package imports removed in monolithic build
#
I did as you asked and in a shell did
import ssl
ssl.RAND_status() is 1L
sábado, 5 de Agosto de 2017 às 01:15:21 UTC+1, Dave S escreveu:
>
>
>
> On Friday, August 4, 2017 at 3:57:29 PM UTC-7, José Leite wrote:
>>
>> Admin console information:
>>
>> 2.15.2-stable+timestamp.2017.07.19.12.18.41
>>
10 matches
Mail list logo