[web2py] Re: Insert data in firebird database

2018-05-11 Thread Константин Комков
That 'example' isn't work too(((. Can anyone advice how can I insert data in blob field. There are one interesting thing. This code is working. db_xml.define_table('bin_files', Field('id','integer'), Field('PARENT'), Field('SRC_FILENAME')

[web2py] Re: Unexpected behaviour executing a query with DAL and record versioning enabled

2018-05-11 Thread 'Awe' via web2py-users
Hello Leonel, opened this Issue on Mar 14, still no one assigned? Regards, Andreas Am Freitag, 9. März 2018 16:55:12 UTC+1 schrieb Leonel Câmara: > > This is definitely a bug, the solution doesn't seem easy, The problem is > that it should not apply the common filters on the alias used on the lef

[web2py] Re: Database question: 60 boolean fields + string:list or all string:list?

2018-05-11 Thread Leonel Câmara
> On top of that the user will be able to add features not there, in a tag cloud format using string:list (I assume that's the best method for freeform data of this sort). So for example, you can add tags that say 420-friendly or piano There's your answer. Forget the 60 boolean fields and just

[web2py] Re: link to a grid

2018-05-11 Thread Andrea Fae'
...I'm sorry...it was written in the book!! Sorry...I need to read again some parts of the book! Thank you Il giorno venerdì 11 maggio 2018 02:06:26 UTC+2, Anthony ha scritto: > > The signature of the URL function is URL(a, c, f). If you pass only two > arguments, it assumes they are c and f, an

[web2py] Re: authentiction questions

2018-05-11 Thread Dave S
On Wednesday, May 9, 2018 at 10:20:24 PM UTC-7, Dave S wrote: > > > Ooops -- missed the instructions ... > > On Wednesday, May 9, 2018 at 4:53:04 PM UTC-7, Dave S wrote: >> >> Trying to set up a new user via script, and as usual it isn't going >> smoothly. web2py 2.15.4, fronted by nginx >> >>

Re: [web2py] Digest for web2py@googlegroups.com - 6 updates in 5 topics

2018-05-11 Thread Nico de Groot
Minimal example using web2py DAL as a script. I'm not using firebird but your example with the string shows that the storage in a blob is working in firebird (Note that a python string is saved as binary data in a blob). In a webapp, move code to model file and to a controller, or use a form to upl