Hi,
I think it should be:
left=db.requestlist.on(db.procedures.id == db.requestlist.proceduresid)
Regards,
Annet
--
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 I
I am trying to create a left join query and must be something stupidly
wrong as it doesn't work
Any suggestions? Thanks for any help!
db.define_table('procedures',
Field('id',writable=False, readable=False, label='ID'),
Field('procedurenumber', unique=True, label=
I think some of the code may be at Github:
https://github.com/mdipierro/web2py-appliances
https://github.com/mdipierro/web2py-recipes-source/tree/master/apps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
This one took me a while to figure it out:
im declaring a model as:
date_format = "%Y-%m-%d"
db.define_table("bookings"
, Field("start_date", "datetime")
, Field("end_date", "date", requires = IS_DATE(format=date_format))
, Field("agency", "reference agencies", format="{agency}")
PS: For the love of all that's holy, please don't name it web3py.
:)
--
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 becaus
Thank you, Massimo !!
Is there any reason that one could not have 2 versions of web2py on disk at
the same time?
The reason for wanting that is that is conservatism
- Having thousands of lines of code developed under 2.14.6 and migrating
them to 2.16.1
if something doesn't work under th
6 matches
Mail list logo