On Wednesday, February 3, 2016 at 1:10:37 AM UTC-8, Niphlod wrote:
>
> it's like you execute a task in a request coming from a new user every
> time. if you need to persist something, use a record in the db.
>
I'm catching on to that.
Trying to queue a task from a shell doesn't seem useful. T
Using the browser developer tools, on the subsequent navigations, see if
(a) the browser is sending the session cookie to the server and (b) the
server is sending *the same* session cookie back. If you are transitioning
from http to https and have either set session.secure() or
request.requires
I use a session variable to pass some info with a redirect:
session.OrigText = XML(str(OrigText))
redirect(URL('SearchResultsOrigText'))
It arrives at the new URL / page / view - SearchResultsOrigText - and
works Ok.
But when from that new URL - SearchResultsOrigText- I navigate away (
is ok now I changed line code! thanks for helpe
Field('user_id', 'reference auth_user', default=auth.user_id)
Field('user_id', 'reference auth_user', default=auth.user_id, readable=True,
writable=False)
Em terça-feira, 26 de janeiro de 2016 15:50:34 UTC-3, Charles tenorio
escreveu:
>
> goo
it really doesn't change that much if it's bad code or good one, it's
executed in web2py env that traps the exception. Unless you're overriding
multiprocessing, datetime, etc etc etc (but this is just shooting really
high with the fantasy) the whole scheduler would die (not just the task)
but i
Sorry for the delayed response.. this works perfectly!
On Wednesday, 27 January 2016 22:31:39 UTC-5, Anthony wrote:
>
>
> SQLFORM.grid(..., buttons_placement='left')
>
> Anthony
>
> On Wednesday, January 27, 2016 at 9:18:16 PM UTC-5, Thomas Sitter wrote:
>>
>> Hello,
>>
>> I'm looking to move the
Hi Niphlod!
work out what you said, thank you. I can now registers the USERS and login.
can join us who the Registered User who did the operation. it all running
app engine locally. But when I go up, I can only make the register of usr.
Of this error in time to call the function that is to to
yeah, it's very unusual. This only happened a few times in the last 4 years
for me. But one of the reasons is that it only occurs when the task raises
an exception or runtime error. Usually my tasks run fine but a few times I
deployed "bad" code with failed tasks. And when the task fails it's no
If you do:
form = auth()
then you cannot call form.process(), as auth() automatically calls
.process() itself. Also, the auth.register() method automatically redirects
after processing, so the rest of your code will not be reached anyway. If
you want to do something after registration, specify
Hello
I cannot retrieve the session.flash message after user successfully
registers
my controler (default.py ) is the following
def user():
if request.args(0)=='profile':
#uporabnikov Id
uid = auth.user_id
#preberem podatke za tega userja iz obeh tabel
autocomplete is there since web2py exist or almost I guess...
It handy, but it slow and I prefer to use twitter typehead autocomplete,
much more works but it much better...
On Wed, Feb 3, 2016 at 7:00 AM, Pierre wrote:
> works !!!
>
> very nice feature and very magic indeed
>
>
> is it robust o
works !!!
very nice feature and very magic indeed
is it robust or is it still experimental ?
--
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 rece
the databases/ is needed if you need to do migrations.
you can skip it only if you always use migrate=False in prod.
On Wednesday, February 3, 2016 at 3:00:32 AM UTC+1, Alex Glaros wrote:
>
> is the correct method to do a "Pack Custom" without the "databases", then
> send the rest to the new site
it's like you execute a task in a request coming from a new user every
time. if you need to persist something, use a record in the db.
On Wednesday, February 3, 2016 at 7:24:07 AM UTC+1, Dave S wrote:
>
>
>
> On Sunday, January 31, 2016 at 4:13:07 AM UTC-8, Niphlod wrote:
>>
>>
>>
>> On Sunday, J
14 matches
Mail list logo