[web2py] Re: Define table but not add it to the database

2017-05-19 Thread Sundar
Yes, 'attaching the table' does not allow references. On second thoughts, it is somewhat inconvenient to use that feature too. Let me see if another method will work. In web2py directory, under site-packages, you can define a module (or a simple .py file) wherein you can define the required

[web2py] Re: Codec MS-SQL, unicode Latin1 UTF8

2017-05-19 Thread J-Michel Angers
Hello, Many thanks at both of you :-) I've just made a lot of tests, a lot of combinations I confirm : mssql4 is NOT the good connector for this. mssql2 works much better ! ! For unicode fields (type nvarchar in SQL-Server), mssql2 without codec works very well, but doen't work for varchar

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread lyn2py
Result looks fine, actually. Are there empty elements in the list, or are you calling any empty img in those elements, or are there any accidental elements before "IMC" On Friday, May 19, 2017 at 3:48:30 PM UTC+8, sunda...@gmail.com wrote: > > >

[web2py] DAL can't connect to database with auto_import=True using other user than one of the first execution

2017-05-19 Thread Lisandro
I have this scenario: One postgreSQL database called "george", owned by one user also called "george". APP1: It is the main app that uses the database. This app executed the migrations the first time, then it uses lazy tables. APP2: In some ocations, it connects to the "george" database

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-19 Thread Daniel Vogel
I can have a try to change some code for a temporary fix (function auth.wiki()). Anthony said, Wiki function use attachement=True. With this settings the browser will start the open/download dialog? Is it possible that this is the rendering problem from LibreOffice Writer (copy)? But I have no

[web2py] Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
Hello everyone, So i started web2py it have been 1 month but i have still have some questions. What is sad is that with normal html and css it could be easier for me, but my workplace want me to use web2py. The question is that in my view i receive a list. Each element of the list got an

[web2py] function contingent on registration

2017-05-19 Thread R U
I would like to add a list of dates into my data base when the user signs up. from datetime import date, datetime, timedelta import random from random import randint dog = randint(3,25) def perdelta(start, end, delta): curr = start while curr < end: yield curr curr +=

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread lyn2py
This looks to be a CSS issue. Can you share your code? In your view On Friday, May 19, 2017 at 2:57:14 PM UTC+8, sunda...@gmail.com wrote: > > Hello everyone, > > > So i started web2py it have been 1 month but i have still have some > questions. What is sad is that with normal html and css it

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread Dave S
On Thursday, May 18, 2017 at 11:57:14 PM UTC-7, sunda...@gmail.com wrote: > > Hello everyone, > > > So i started web2py it have been 1 month but i have still have some > questions. What is sad is that with normal html and css it could be easier > for me, but my workplace want me to use web2py.

[web2py] [solved] unable to install application on Windows Server and IIS

2017-05-19 Thread Carlos Kitu
Just to share a finding, I was getting crazy with a simple installation of a new application on Windows Server and Internet Information Server. Many applications in production with no issues, I could upload any other application, but was getting the "unable to install application" with an

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-19 Thread Dave S
On Monday, May 15, 2017 at 12:21:46 PM UTC-7, Dave S wrote: > > > > On Monday, May 15, 2017 at 7:27:52 AM UTC-7, Daniel Vogel wrote: >> >> Hi >> >> I like copy from Wiki page (HTML) to LibreOffice Writer. >> If I copy text, it works. With images in the Markmin syntax, LibreOffice >> Writer

[web2py] Re: [solved] unable to install application on Windows Server and IIS

2017-05-19 Thread Dave S
On Friday, May 19, 2017 at 12:33:15 AM UTC-7, Carlos Kitu wrote: > > Just to share a finding, > > I was getting crazy with a simple installation of a new application on > Windows Server and Internet Information Server. Many applications in > production with no issues, I could upload any other

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
{{ availableTools=getAvailableTools(membership) for result in availableTools : name=result.tool for tool in getRow(name) : img= tool.img portfolio='#portfolioModal'+str(tool.nbr)

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
-- Resources: - http://web2py.com -

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
I already search in the inspect :'( there is completly nothing in that whole, and the problem is that the list is really perfect, because after the whole, the element is next element of the element before the whole -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: [solved] unable to install application on Windows Server and IIS

2017-05-19 Thread Carlos
Never mind, it was my fault. I was trying to create a link, and never remember the right order: ln -s name folder or ln -s folder name , and this is how I created the broken link. I create links because I have the applications folders out of the web2py/applications to make it easier to manage

[web2py] Re: function contingent on registration

2017-05-19 Thread Anthony
What is fun.zipdip.insert(inform=result), and how does the other code you have shown come into play? On Friday, May 19, 2017 at 5:59:06 PM UTC-4, R U wrote: > > I would like to add a list of dates into my data base when the user signs > up. > > from datetime import date, datetime, timedelta >