[web2py] Re: No module named path

2021-01-18 Thread Dave S
Piddling around, I found I had an issue in restuff.py with "import Cookie", and the problem still exists with it's replacement "import cookielib". And the problem exists with "import urllib2", even though controllers/default.py doesn't have problem with that line. Default.py can import restuff.p

[web2py] Re: Pass/Receive args contains "&" in the value

2021-01-18 Thread Omi Chiba
JIm, Thank you for your reply! I will test it later this week and let you guys know. On Monday, January 18, 2021 at 12:58:43 PM UTC-6 Jim S wrote: > Can you wrap it in an XML function? > > class="icon-search"> View > > On Wednesday, January 13, 2021 at 4:03:54 PM UTC-6 Omi Chiba wrote: > >> In

[web2py] Re: Pass/Receive args contains "&" in the value

2021-01-18 Thread Jim S
Can you wrap it in an XML function? View On Wednesday, January 13, 2021 at 4:03:54 PM UTC-6 Omi Chiba wrote: > In another word, how I can encode and decode the value including special > characters such as "&". > > https://help.marklogic.com/Knowledgebase/Article/View/using-url-encoding-to-hand

[web2py] Re: Popolate existing DB entries on Migration with values when adding new columns

2021-01-18 Thread 'Daniela Festi' via web2py-users
Since I want to allow users to empty the field later, the workflow would be: - add "notnull=True" to the definition - update code, perform the migration - remove "notnull=True" from the defintion - update code again Still not very elegant, but maybe easier than my previous recipe. Thanks for that