In view I use JS code, which allow using one button for opening Dialog
and choosing any files. Then I send its in controller like
multipart/form-data.
Прикрепить
$(function() {
var files;
function showLoadDocsInfo(data) {
console.log('In showLoadDocsInfo');
I decided to use upup.js by Tal Ater, website here:
https://www.talater.com/upup/getting-started-with-offline-first.html,
mainly because I had a project deadline and needed something with a short
learning curve.
The main thing about PWAs appears to be that the service worker javascript
files
>
>
> The main thing about PWAs appears to be that the service worker javascript
> files need to be accessible from the domain root.
> ...
> The main issue I'm having so far is getting a 404 error when trying to
> load the service worker file (upup_sw.js) which I think is a path issue
> (inside
Hi!
I just noticed that uploading files up to around 120mb using a simple form
(crud.create) and model works reliably using the default setup on linux
(sqlite and rocket). But when trying to upload files around 500mb, while
the file always goes correctly to the upload folder, the db insert only
I know your post is a long time ago, but since I have just been dealing
with the same issue ...
Initially, I followed the implementation described in the web2py manual,
using /gluon/contrib/stripe.py.
This worked locally but not on my (free) test account at PA. I
re-implemented, following the
I recently implemented stripe checkout in my site which runs on
Pythonanywhere. Initially, I followed the recipe in the manual, using
/gluon/contrib/stripe.py. Worked in local test, but failed on my test site
which is a free Pythonanywhere account, although PA say Stripe is
whitelisted.
The of
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
Hello,
I'm playing with the web2py-book app, in order to make it python 3
compatible and also to improve it a bit. I have a couple of questions
related to default.py:
1. there were some encode-decode errors. I was able to resolve them (see
https://github.com/nicozanf/web2py-book for a preview) bu
On Wednesday, October 10, 2018 at 9:31:04 AM UTC-7, Jordan Ladora wrote:
>
> Hi!
>
> I just noticed that uploading files up to around 120mb using a simple form
> (crud.create) and model works reliably using the default setup on linux
> (sqlite and rocket). But when trying to upload files around
Firefox!
Thanks very much for this - it's really helpful.
I use apache/postgres on production servers but it will take me a very long
time to upload such a big file to those [remote] servers, so I was testing
locally. Based on your experience, I think my issue is probably just due to
the limit
10 matches
Mail list logo