please try delete everything in apps/_scaffold/databases/* I was not able
to reproduce after I did that
On Sunday, 9 June 2019 01:23:08 UTC-7, John Bannister wrote:
>
> I tried both with and without. Same or very similar result. It is only
> complaining about the auth_user_tag table which is
*http://localhost:8000/examples/dbform*
*error on browser*
500
INTERNAL SERVER ERROR
*error on terminal*
ERROR:root:Traceback (most recent call last):
File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 413, in
wrapper
ret = func(*func_args, **func_kwargs)
File
How to set reCaptcha2 language ?
I tried with the options parameter but got an error that the nl parameter
is not recognized
form.element('table').insert(-1, TR('' ,Recaptcha2(request, 'PUBLIC_KEY',
'PRIVATE_KEY',options={nl:'da'})))
Looking into the reCaptcha2 class definition I can see
import datetime
yesterday = request.now - datetime.timedelta(days=1)
db(db.post.modified_on < yesterday).delete()
I hope this helps. You can work around it but worked for me in deleting
previous posts up to the previous date. You don't have to manually delete
but works automatically.
Regards
On
Had one, let check my archives.
On Sun, 9 Jun 2019, 09:47 mostwanted wrote:
> Is there a way to schedule an automatic deleting of content from database
> on a specified date? I have an application that I want to delete posts
> when we reach specified dates. If anyone is familiar with this,
I tried both with and without. Same or very similar result. It is only
complaining about the auth_user_tag table which is defined in the auth module.
From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of
Massimo Di Pierro
Sent: 08 June 2019 07:19
To: web2py-users
Is there a way to schedule an automatic deleting of content from database
on a specified date? I have an application that I want to delete posts
when we reach specified dates. If anyone is familiar with this, your
assistance would be greatly appreciated.
Regards
Mostwanted
--
Resources:
-
7 matches
Mail list logo