I can do that without web2py functions using xmlhttprequest, but I thougth
that web2py have special function.
8 авг. 2018 г. 21:19 пользователь "Val K" написал:
It is impossible to return ajax-response from your handler directly
without the use of async/await, supported by only modern browsers.
It is impossible to return ajax-response from your handler directly
without the use of async/await, supported by only modern browsers. The
traditional way is to register a callback that will do all the work
On Wednesday, August 8, 2018 at 7:04:17 PM UTC+3, Константин Комков wrote:
>
> I want
Hi Manuele
Thanks for your feedback, i've got it sorted now Anthony kindly helped me
with the code. I'm still adding some things. But i'll upload the final code
once i'm done!
On Wed, Aug 8, 2018 at 9:46 AM, Manuele Pesenti
wrote:
> or just let you be inspired from the update_or_insert method
Yeah, we have a "users" file in the E-File system that will be passed via
cookies to the accounting system. The users in the Accounting systems will
have some sort of limitations and ACL's on the applications that they have
access to.
On Wed, Aug 8, 2018 at 11:02 AM Anthony wrote:
> It's hard
I want make very simple thing. When user load page fist time variable x
must be 0. After ajax action variable x must be equal 1. And important
moment, that variable in must be returned in JavaScript function.
среда, 8 августа 2018 г., 18:03:23 UTC+3 пользователь Anthony написал:
>
> On Saturday,
I'm trying to deploy on heroku, but am having troubles connecting to their
database.
Imported gluon.contrib.heroku.py but get_db() doesn't seem to be working
well with the adapters
Any ideas where to look would be appreciated.
Failure to connect, tried 5 times: Traceback (most
recent call
It's hard to say what you would need to do without knowing more about your
requirements. Of course, you don't have to use the web2py Auth system at
all. If you have an external system that handles authentication, you can
use it in conjunction with web2py --
see
I've been doing some playing around with the sample applications.
I've notices they all use tables "auth_user", "auth_group", etc.
We have our own authentication needs for each district court (one server to
server
multiple courts that are in a distinct district) and our own authentication
On Saturday, August 4, 2018 at 6:03:59 AM UTC-4, Константин Комков wrote:
>
> Hello!
>
> Can you take advice, how can I understan than answer from server was
> received in JS?
> Controller:
> def swed():
> ajaxAnswer = 0
> return dict(ajaxAnswer=ajaxAnswer)
> def VcodeToDbAndMail():
>
Are there somebody?
суббота, 4 августа 2018 г., 13:03:59 UTC+3 пользователь Константин Комков
написал:
>
> Hello!
>
> Can you take advice, how can I understan than answer from server was
> received in JS?
> Controller:
> def swed():
> ajaxAnswer = 0
> return dict(ajaxAnswer=ajaxAnswer)
or just let you be inspired from the update_or_insert method itself:
https://github.com/web2py/pydal/blob/70929a6dc03e6296c34944d2d232f257b78337d7/pydal/objects.py#L822
something like the following lines maybe will fit your needs:
def update_or_insert(self, _key=DEFAULT, **values):
if
11 matches
Mail list logo