Here is a simple fix if there hasn't been one added to Web2Py yet. Use the
Bootstrap readonly attribute.
example:
form.element('input', _id='RentalTransactionMaster_TotalAmt')['_readonly']=''
Placed in controller after the form = SQLFORM(...) declaration.
On Friday, March 31, 2017 at 5:25:5
Not sure if this thread is finished yet but I would like to add my requests
for the new framework.
* Something with a mobile first perspective would be nice.
* Data and page caching on client side.
* And offline capabilities.
That said, it goes without saying it would need some kind of syncing
For those looking for how to get Stripe to work with Web2Py, follow the API
from Stripe. The getting started documentation with the checkout script
works. Make sure you are following the Python code section.
(https://stripe.com/docs/quickstart)
Hint: Place the checkout script inside of a web2py
I am also looking for a way to set a total in a parent (master) form from a
sub-form (detail) coded in SQLFORM.grid.
On Thursday, October 11, 2018 at 8:11:39 AM UTC-4, Ari Lion BR Sp wrote:
>
> Hi,
>
> a long time already I ask myself why SQLFROM.grid doesnt have a sumarize
> option, mainly ba
Okay, here is an odd one. I have two systems configured more or less the
same. One is for development and one for production.
Both servers are configured with ubuntu, nginx, and uwsgi. Configured
identically, except of course the IP addressing. The development server
will return static files fr
It is not that easy. I replace the background.jpg with another image and
the old image replaces my new image. Over and over. Very frustrating.
On Wednesday, June 22, 2016 at 2:56:21 PM UTC-4, Dave S wrote:
>
>
>
> On Wednesday, June 22, 2016 at 10:23:56 AM UTC-7, Filip Bogdanovski wrote:
>>
>> T
It Works! YESSS!!!
Worked in my code. Now to fix the import csv function in appadmin. Using
version 2.18.5 of web2py with python 3.7.0 on pythonanywhere.
On Friday, April 26, 2019 at 1:56:39 AM UTC-4,
nbac...@bancointernacional.cl wrote:
>
> I had a similar issue.
> I solve it doing this:
>
>
This works in your own code using import_from_csv_file as well as in
appadmin, all for python 3.
On Friday, April 26, 2019 at 1:56:39 AM UTC-4,
nbac...@bancointernacional.cl wrote:
>
> I had a similar issue.
> I solve it doing this:
>
> f = request.vars.csvfile.file
> import io
> file = io.Text
8 matches
Mail list logo