Still looking for a reply for this message! C'mon, it's only
been...what... 2-1/2 years?? Seriously. I was just looking at this again
and thought to myself, "I remember asking that on web2py-user... I wonder
if I missed the response?" Turns out I didn't!
-- Joe
On Thursday, April 17, 2014
a transaction is live from the first command you execute AFTER the first
commit() or rollback(). Web2py automatically commit() at the end of a
request, or rollback() in case an error occurred.
Everything runs separated in each thread (which means every thread runs its
own transaction) and - usua
Let's see the table definitions for db.invoice and db.task.
Anthony
On Friday, September 30, 2016 at 8:42:22 PM UTC-4, Peter wrote:
>
>
> ...you should just remove the version of pydal you have in the
>> dist-packages folder on your system.
>>
>
>- renamed the system installed dal directory
Hello!
Im creating a website with a microservices architecture, and for
authentication i'm using JWT token stored in the cookies, this tokens are
automatically renewed each 5 minutes, the basic flow of this is:
1 My front end makes a request to a microservice
2 The microservice check if the tok
Il 30/09/16 19:47, António Ramos ha scritto:
> Hello, i would like to suggest the ability to duplicate a record in
> admin.
>
> It would make me happy :)
what about doing it in your web2py console with something like:
db.table[0] = {k: v for k,v in db.table[id].iteritems() if k!='id'}
M.
>
>
So you are changing framework's default behavior , when you update latest
version , likely your script inserted in tools.py will cleaned.
The web2py give you ways to define it by parameters.. but..
Anyway you are welcome
Em sexta-feira, 30 de setembro de 2016 18:36:26 UTC-3, 黄祥 escreveu:
>
> t
On Saturday, October 1, 2016 at 10:18:55 AM UTC-4, Manuele wrote:
>
> Il 30/09/16 19:47, António Ramos ha scritto:
> > Hello, i would like to suggest the ability to duplicate a record in
> > admin.
> >
> > It would make me happy :)
> what about doing it in your web2py console with something
If you want to do it using the /appadmin/manage functionality, you can add
something like the following to a model file:
def make_clone_link(r):
tablename = request.args(2)
index = db.tables.index(tablename)
return URL('appadmin', 'manage.load', args=['db', index, tablename,
'new', t
On Saturday, October 1, 2016 at 9:52:18 AM UTC-4,
luis.vallada...@metamaxzone.com wrote:
>
> Hello!
>
> Im creating a website with a microservices architecture, and for
> authentication i'm using JWT token stored in the cookies, this tokens are
> automatically renewed each 5 minutes, the basic f
On Friday, September 30, 2016 at 5:36:26 PM UTC-4, 黄祥 wrote:
>
> thank you so much marlysson for detail explaination.
> i change it in gluon/tools.py
> around line 2004
> if user_identifier is DEFAULT:
> #user_identifier = '%(first_name)s'
> #user_identif
Thanks , as always...
2016-10-01 19:05 GMT+01:00 Anthony :
> If you want to do it using the /appadmin/manage functionality, you can add
> something like the following to a model file:
>
> def make_clone_link(r):
> tablename = request.args(2)
> index = db.tables.index(tablename)
> retu
They expire, when I generate a new token I store it in the database and
send to the user browser, each time the token is expired I generate a new
one, overwrite the token in the database (and because this the other token
is lost) and sent to the user.
But that's not really my problem (maybe I don'
If there is anything stupid here Anthony, please remember I am a novice at
this!
db.define_table('invoice',
Field( 'invoice_number' , 'integer' , writable=False),
Field( 'company' , writable=False),
Field( 'amount' , 'decimal(6,2)' , writable=False),
Field( '
Never stop asking me to post anything Anthony!
format='%(invoice_number)s - %(company)s - %(status)s - %(date)s')
changed to
format='%(invoice_number)s - %(company)s - %(status)s - %(issue_date)s')
problem sorted!
I must have looked at that table a dozen times and had, at least
temporar
sorry, my bad, i missed the step 5, it more simple, just modify the
layout.html
*views/layout.html*
{{
#string_representation = "%(first_name)s"
#string_representation = "%(last_name)s"
#string_representation = "%(first_name)s %(last_name)s"
On Saturday, October 1, 2016 at 4:19:59 PM UTC-4, Luis Valladares wrote:
>
> They expire, when I generate a new token I store it in the database and
> send to the user browser, each time the token is expired I generate a new
> one, overwrite the token in the database (and because this the other t
16 matches
Mail list logo