hello one and all,
i'm in a nightmare trying to upload files via pure client-side javascript
to aws s3 using, i guess, aws-sdk-js. perhaps someone out there who's done
this can have a discussion with me and i don't know where else to go. i
know this isn't web2py but i'm in the weeds on this
Got it, thank you!
On Wed, May 15, 2019, 9:35 PM Dave S wrote:
>
>
> On Wednesday, May 15, 2019 at 4:45:17 PM UTC-7, Vlad wrote:
>>
>> c1.py and c2.py are controllers.
>> c2 has a function f in it.
>> Can code in c1.py call the function f?
>>
>
> If f is a function in the URL sense (that is, it
On Wednesday, May 15, 2019 at 4:45:17 PM UTC-7, Vlad wrote:
>
> c1.py and c2.py are controllers.
> c2 has a function f in it.
> Can code in c1.py call the function f?
>
If f is a function in the URL sense (that is, it is top level in c2.py, and
has no arguments, and the URL /.../appY/c2/f
Never mind,
Resolved...
On Wednesday, May 15, 2019 at 8:43:44 PM UTC-4, Vlad wrote:
>
> I didn't say it precisely. By web2py controlling it I meant that it's
> dynamic and changes all the time - it's not static that I could assign
> certain id to some item...
>
> On Wednesday, May 15, 2019 at
I didn't say it precisely. By web2py controlling it I meant that it's
dynamic and changes all the time - it's not static that I could assign
certain id to some item...
On Wednesday, May 15, 2019 at 7:55:26 PM UTC-4, Vlad wrote:
>
> Sometimes I need to change the menu without reloading the
Sometimes I need to change the menu without reloading the page.
More specifically:
response.menu = [
.
.
('Cart (' + str(howManyItemsInCart()) + ")", False,
URL('catalog','cart'), []),
]
I do control the event when the cart content
c1.py and c2.py are controllers.
c2 has a function f in it.
Can code in c1.py call the function f?
On Wed, May 15, 2019, 7:40 PM Dave S wrote:
>
>
> On Wednesday, May 15, 2019 at 12:44:24 PM UTC-7, Vlad wrote:
>>
>> this must be a very basic question; I just don't have full clarity on how
>>
On Wednesday, May 15, 2019 at 12:44:24 PM UTC-7, Vlad wrote:
>
> this must be a very basic question; I just don't have full clarity on how
> web2py handles this:
>
> can code in one controller somehow access a function in another
> controller? Or I have to move such a function to model code?
this must be a very basic question; I just don't have full clarity on how
web2py handles this:
can code in one controller somehow access a function in another controller?
Or I have to move such a function to model code?
--
Resources:
- http://web2py.com
- http://web2py.com/book
On Monday, May 13, 2019 at 3:48:39 PM UTC-7, Dave S wrote:
>
>
>
> On Monday, May 13, 2019 at 2:31:33 PM UTC-7, Dave S wrote:
>>
>> When I check Last week I ended up making the move to Postgres on the
>> busier of my production servers, and the changeover appears to be
>> successful (imported
On Wednesday, May 15, 2019 at 5:59:06 AM UTC-7, Joel Samuelsson wrote:
>
> Hi,
>
> I'm running web2py in a docker container to run some tests against a fresh
> database. I get this warning that I'd like to get rid of:
> /var/www/DataCollectionManager/web2py/gluon/dal.py:1961: Warning:
>
for naming perhaps python module : acronym can give any idea:
pip3 install acronym
acronym "database abstraction layer application programming interface"
put whatever you want
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Thank you very much for the explanation , it really helps.
On Wednesday, May 15, 2019 at 12:23:47 AM UTC-5, Massimo Di Pierro wrote:
>
> web2py uses:
>
> (all defined in web3py/core.py)
> [100% done] pydal for DB
> [100%] pluralize for T
> [100%] yatl for template and helpers
> [100%] tornado as
Aweome!
I made a similar API for my apps, but is simpler.
I like this one more as it is more complete.
Mine is called Consult (because we call query as consulta in Portuguese)
This is very useful to integrate ui components such as datatable, or
anything.
Maybe dal-api should be a good name.
If
When I try to use the code above with the @api_requires_login declared I am
receiving:
JWT header not found and JWT parameter _token missing in request
Even for functions without the decorator, like:
def token():
return myjwt.jwt_token_manager()
Any ideas why it is asking me this header?
On Wednesday, May 15, 2019 at 12:53:27 AM UTC-4, Massimo Di Pierro wrote:
>
> We can change the name but api is too ambiguous. Any other idea?
>
Not sure. RESTAPI? HTTPAPI?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
Hi,
I'm running web2py in a docker container to run some tests against a fresh
database. I get this warning that I'd like to get rid of:
/var/www/DataCollectionManager/web2py/gluon/dal.py:1961: Warning: Incorrect
integer value: '' for column 'registration_id' at row 1 ret =
Hello all,
In PA I am running this app with an existing mysql database and I am having
migration issue.
If I run the db.py with db.migrate, it says
1050, "Table 'auth_user' already exists
If I run the table with migrate=False, and fake_migrate = True I get
another error:
mytable.products'
On Monday, May 13, 2019 at 3:18:35 AM UTC-7, Krzysztof Jeleń wrote:
[...]
> Current;y I'm not sure is this only Chrome issue, the problem is that
> using DAL withput calling explicity DAL close method leave a lot of sockets
> in wating state on server side. I was able to reduce its number
19 matches
Mail list logo