I used DAL(uri, folder, import_models=True) in the task.py function and
this does the job.
If possible can someone explain if:
1.This lightweight connect to celery is preferred
over https://code.google.com/archive/p/web2py-celery/.
2.Is running the worker using task manager as a windows
hello.
Can you unsubscribe me please? I am not currenly a web2py user. But maybe
in future.
Please remove my email from you list for now.
Kind regards,
Alexandra
On Sun, Nov 4, 2018 at 8:10 AM James O' Driscoll
wrote:
> I used DAL(uri, folder, import_models=True) in the task.py function and
> t
As suspected, my workaround was to URL encode the "offending" fields at the
client end. simpleton.loads() then parsed the json happily. The field could
then be "unencoded".
My system has plenty of json passing between clients and the Web2py
service. I can't work out why I've tripped over here.
Hi,
using the code below, i'm trying to pass multiple variable from view to
controller... and simple print the two values or work some validation.
perhaps i'm missing something... need help
view:
I create two tables.
db = DAL('sqlite://storage.sqlite')
*db.define_table('maintable',*
* Field('refcode',unique=True,
requires=IS_NOT_IN_DB(db,'maintable.refcode') ),*
* Field('description'))*
*db.define_table('secondtable',*
*Field('refcode
Hi ,
I have purchased a domain and whenever I enter "www.mydomain.com" the
browser lands in the page : http://www.mydomain/welcome/default/index.
I want to change the default application , default controller and default
view so that whenever someone enters www.mydomain.com then he lands in
htt
I've updated to 2.17.2-stable but i've got this error:
invalid table "Prestazioni" attributes: set(['ondelete'])
invalid_kwargs set(['ondelete'])
tablename 'Prestazioni'
My field is definied as:
Field('preventivo',db.Preventivi,requires=IS_EMPTY_OR(IS_IN_DB(db,
'Preventivi.id'))),ondelete='SE
cp web2py/examples/routes.parametric.example.py web2py/routes.py
On Sunday, 4 November 2018 11:58:16 UTC-8, Arindam Dasgupta wrote:
>
> Hi ,
>
> I have purchased a domain and whenever I enter "www.mydomain.com" the
> browser lands in the page : http://www.mydomain/welcome/default/index.
>
> I wan
It has not changed. I think you have a typo
Field('preventivo',db.Preventivi,requires=IS_EMPTY_OR(IS_IN_DB(db,
'Preventivi.id'))),ondelete='SET NULL')
should be
Field('preventivo',db.Preventivi,requires=IS_EMPTY_OR(IS_IN_DB(db,
'Preventivi.id')),ondelete='SET NULL')
On Sunday, 4 November 20
Sorry, I've found typo and removed message but you've been faster :)
I don't know why but the previous wrong syntax worked without problems for
months on the previous version ...
Thx Massimo!
Il giorno domenica 4 novembre 2018 22:07:41 UTC+1, Massimo Di Pierro ha
scritto:
>
> It has not chan
On Sunday, November 4, 2018 at 7:43:18 AM UTC-8, Tribo Eila wrote:
>
> Hi,
>
> using the code below, i'm trying to pass multiple variable from view to
> controller... and simple print the two values or work some validation.
>
> perhaps i'm missing something... need help
>
> view:
>
Alexandra, I have not used it recently and only have my notes below:
pg_dump
--host=yourPythonAnywhereDbName.postgres.pythonanywhere-services.com
--dbname=postgres_myDbName --(note: I don't know how to handle password)
--port=10097 --username=yourPythonAnywhereRole --format=c
--file=pg_alex_b
On Sunday, November 4, 2018 at 5:06:33 AM UTC-8, Carl Hunter Roach wrote:
>
> As suspected, my workaround was to URL encode the "offending" fields at
> the client end. simpleton.loads() then parsed the json happily. The field
> could then be "unencoded".
>
> My system has plenty of json passing
13 matches
Mail list logo