Dear Massimo.I did tested opentok great tip!!!
Regards
On Saturday, August 6, 2016 4:43 AM, Massimo Di Pierro
wrote:
I would use opentok
On Tuesday, 2 August 2016 19:46:07 UTC-5, Ron Chatterjee wrote:
This may help. Its a django app. Someone needs to take
I'm an idiot.
Put session below auth.
Ignore.
On Wednesday, August 10, 2016 at 8:13:55 PM UTC-5, Mark Graves wrote:
>
> Hey everyone,
>
> Having trouble tracking down a bug, looking for a sanity check.
>
> Somehow, when I turn on redis sessions, auth is not getting updated from
> the session.
Hey everyone,
Having trouble tracking down a bug, looking for a sanity check.
Somehow, when I turn on redis sessions, auth is not getting updated from
the session.
This behavior manifests itself as a 303 with functions that are decorated
with @auth.requires.
Basic Workflow:
Ajax
thanks. writing to session worked for me.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the
On Wednesday, August 10, 2016 at 3:52:20 AM UTC-7, madhu nomula wrote:
>
> Yes totalrecords decalred.
>
> Updated the code like below in controller: But still throwing issue
>
>
What issue is thrown? Do you get a ticket, or wrong results?
/dps
--
Resources:
- http://web2py.com
-
On Wednesday, August 10, 2016 at 1:03:48 PM UTC-7, marchaos wrote:
>
> thanks dave, that's right, add() is a controller.
>
> however request.env["HTTP_REFERER"] doesn't work here for me:
>
> the add() function is called twice. first to generate the form and second
> call to validate
thanks dave, that's right, add() is a controller.
however request.env["HTTP_REFERER"] doesn't work here for me:
the add() function is called twice. first to generate the form and second
call to validate (form.process().accepted).
the second call validates the form and in case of success
About your question, I think he maybe had try an approach where he was
passing some parameters in request...
Richard
On Wed, Aug 10, 2016 at 12:03 PM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> Here how I realize it :
>
> # Production
> if request.env.web2py_path.split('/')[2] ==
Here how I realize it :
# Production
if request.env.web2py_path.split('/')[2] == 'www-data' and
request.application == 'app_name':
# print 'Prod...'
db = DAL('postgres://username_prod:password@127.0.0.1:5432/dbname',
pool_size=1,
migrate_enabled=False,
Thank you.
I have found this inside:
def is_running_under_test(request, appname):
if request.get('_running_under_test') or testfile_exists(appname):
return True
else:
return False
But I am not sure what mean both parts of the condition.
I think this run on the TESTED
Yes totalrecords decalred.
Updated the code like below in controller: But still throwing issue
Controller code:
@auth.requires_login()
def update_timesheet():
totalrecords=0;
rows = db((db.ActivityMapping.org_id==db.Organization.id)&
11 matches
Mail list logo