Problem: db field uses type='list:reference *other_table*', multiple=True.
I need to an easy-to-use UI to search the referenced table, offer
auto-complete and create a separate input for each selection to make
selecting multiple options deliberate and obvious.
I started out with something along
Any issues with using jQuery?
In your controller:
INPUT(_name='left', requires=[IS_NOT_EMPTY(), IS_HEXSTR()], _id=
'activation_left'),
And in your view:
jQuery('#activation_left').width(50);
You could also attempt to solve the root problem (css) by adding your own
custom css that takes preceden
Hey,
For ajax calls you need to use:
redirect(URL('default', 'display_canvas', args=[screen_width]),
client_side=True)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (
Hi,
I currently have a web2py app running on my server. Lets call it App1. I
created a VirtualHost for my Apache so that 'domain1' points to this app.
This app supports 2 languages (fr and en). I already have a certificate for
this domain, so, it is running in HTTPS.
Now, I want to add a secon
Caveat: I am not knowledgeable about web development.
Situation: Our company develops IoT software enabling IoT product
developers to easily connect their sensors to a backend datastore through
amqp. Recently, a key player left and I must complete a demonstration that
allows configuration of da
py4web?
On Sunday, 18 January 2015 15:22:10 UTC-6, Michele Comitini wrote:
>
> the 3 in web3py is not related to python3, just as the 2 was not related
> to python2.
>
> We could skip the 3 and use 4 which is much more meaningful :-)
>
> look:
> web 2(to) py
> web 4(for) py
>
> and compare:
> web
Should be an easy one...
How do I subtract one day from a request.now? Seems like it should be easy
but I can't find clear documentation. I tried subtracting 86400 but
request.now is in a datetime format.
Thanks in advance.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documenta
I use smart_query in my project but I can't found a complete supported
syntax in the documentation.
Have you more info about that or a reference of the syntax analyser in the
web2py code ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web
I am creating a canvas on a webpage to display some graphics.
In order to create the graphics I need to grab the screen size of the device.
To do this I am using a ajax call in the header of the view of the
display_canvas function to pass the screen width to a helper function which
redirect
Thanks for the pointer.
It was quite easy but as a beginner it took me a while to figure this out,
so i thought i would write what i did in the hope it helps someone else.
I followed the instructions in the documentation. https://stripe.com/docs
You need to install the API as described then yo
Thank you,
On Saturday, January 17, 2015 at 1:20:14 PM UTC+7, Massimo Di Pierro wrote:
>
> Changelog:
>
> - Modular DAL, thanks Giovanni
> - Added coverage support, thanks Niphlod
> - More tests, thanks Niphlod and Paolo Valleri
> - Added support for show_if in readonly sqlform, thanks Paolo
> -
the 3 in web3py is not related to python3, just as the 2 was not related to
python2.
We could skip the 3 and use 4 which is much more meaningful :-)
look:
web 2(to) py
web 4(for) py
and compare:
web 3(???) py??
2015-01-17 7:22 GMT+01:00 Massimo Di Pierro :
> Nothing anytime soon. Stick with
Downloaded the source package, unzipped, put in the two symlinks for the
apps and updated any files in the apps derived from the scaffolding.
Tested one app developed 2 years ago, another I am working on, all is good.
Thank you,
Ron
--
Resources:
- http://web2py.com
- http://web2py.com/book
On a testsystem I have installed version 2.9.11.
Afterwarsd I copies all the files of version 2.9.12beta over this version -
2.9.12beta worked fine.
Now I have used the "upgrade button" and I got this error
"unable to upgrade because "[Error 13] Permission denied:
'/home/www-data/web2py/applicatio
hi,
i face the same problem, when trying to update the other table that have
computed field with after_update callback.
e.g.
# after_update_purchase_header
def __after_update_purchase_header(s, f):
purchase = s.select().first()
# purchase_header
db(db.purchase_detail.purchase_no == purchase.id).
if it exist already you don't need .table at all. just set migrate=False.
.table files are web2py way of tracking what is supposed to be already in
the database for two reasons:
- if you define a table that doesn't exist, create it
- if you changed the definition of a table (e.g. added a field),
I upgrade manually from 2.9.11 to 2.9.12, looks fine so far, thank you :)
Richard D
On Saturday, January 17, 2015 at 7:20:14 AM UTC+1, Massimo Di Pierro wrote:
>
> Changelog:
>
> - Modular DAL, thanks Giovanni
> - Added coverage support, thanks Niphlod
> - More tests, thanks Niphlod and Paolo Val
Is it possible that there is an errory in 2.9.12 with simplejson?
Traceback (most recent call last):
File "/home/oliver/apps/web2py/gluon/restricted.py", line 224, in restricted
exec ccode in environment
File
"/home/oliver/apps/web2py/applications/stoppwatch/controllers/default.py"
18 matches
Mail list logo