[web2py] Re: Error in appadmin (database admin) on python 3

2017-08-06 Thread Leonel Câmara
Looks like a pyDAL bug, there is no "unicode" in the appadmin. -- 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 because you are

[web2py] Re: change represent of referenced filed in SQLFORM update

2017-08-06 Thread Vic Ding
works like a charm! On Sunday, August 6, 2017 at 4:39:07 PM UTC+2, Anthony wrote: > > On Saturday, August 5, 2017 at 4:12:43 PM UTC-4, Vic Ding wrote: >> >> Thanks for the help, it works. However, this alters the table definition. >> 1) Is there a way that the value is only set temporarily ? >>

[web2py] Re: web2py 2.15.0b1

2017-08-06 Thread wish7code
Opened a ticket at https://github.com/web2py/web2py/issues/1721 On Thursday, 13 July 2017 09:45:11 UTC+2, Jacinto Parga wrote: > > Great job. Thanks. > > First issue with @mobilize import > > >

[web2py] Re: Can't load form using {{=form}} only by {{=LOAD('default','def')}} or submit the form.

2017-08-06 Thread Samuel Gosling
Thank you very much, I made a html file called order.load and did what you said and now it's working flawlessly. Cheers for all your help guys. For anyone else stuck on this matter make the default/order.load file or default/form.load then load in html's index as

[web2py] Error in appadmin (database admin) on python 3

2017-08-06 Thread Kirill Shatalaev
Hello, when using python3 and database admin, I got this error: name 'unicode' is not defined You need to click on any table name (for example, http://127.0.0.1:8000/mysite/appadmin/select/db?query=db.auth_user.id%3E0). I think this is python3 unicode -> str specific related trouble. --

[web2py] Re: change represent of referenced filed in SQLFORM update

2017-08-06 Thread Anthony
On Saturday, August 5, 2017 at 4:12:43 PM UTC-4, Vic Ding wrote: > > Thanks for the help, it works. However, this alters the table definition. > 1) Is there a way that the value is only set temporarily ? > You can set db.customer._format and db.sales_order.customer.requires anywhere you want.

[web2py] Re: Can't load form using {{=form}} only by {{=LOAD('default','def')}} or submit the form.

2017-08-06 Thread Paolo Caruccio
Do you have a file named "order.load" or "order.html" in views/default folder? LOAD helper needs a view that does not extend the layout. Sample of content default order.load (please note the absence of {{extend 'layout.html'}}): {{=order}} More on LOAD helper in

[web2py] Re: Weird problems generating menu from database

2017-08-06 Thread Вячеслав Анатольевич
Thanks, Massimo! So, i have a database table - named "map", in that table - three field - menu1, menu2, mnm_name. Menu mast be like that: - menu1 - menu2 -mnm_name In menu1 - menu2, in menu2 - mnm_name -- Resources: - http://web2py.com - http://web2py.com/book