[web2py] data not persisted with pyDAL?

2016-11-04 Thread Terrence Monroe
Hello, I have a very simple standalone pyDAL program which defines a database in one module : db = DAL('sqlite://storage.db') market = db.define_table( 'market', Field('name'), Field('low', type='double'), Field('timestamp',

[web2py] Re: We do not delete posts

2016-10-11 Thread Terrence Monroe
On Monday, July 20, 2015 at 4:08:57 AM UTC-4, Massimo Di Pierro wrote: > > We never delete posts from users, unless the users ask (because they > accidentally post the server password, for example). Yet first posts are > moderated to avoid spam. Usually when a post is on hold for moderation it

[web2py] separating installation from application

2016-10-11 Thread Terrence Monroe
Hello, in looking over the web2py deployment chapter for Unix/Apache, it seems that one is expected to place their applications directly in the applications folder of the web2py distribution. In other words, there seems to be no easy way to separate the location of the web2py distribution from

[web2py] Re: ERROR:root:New installation error: unable to create welcome.w2p file

2016-10-11 Thread Terrence Monroe
Even though I got the error about the welcome.w2p page, I think it somehow created it because this page looks normal after I enter a password: https://www.evernote.com/l/ATU4g3b4sqVGRLbiOgwhp4Kt2WQaR7qbWDUB/image.png On Sunday, August 28, 2016 at 8:41:17 PM UTC-4, Rommel Sotto wrote: > > I have

[web2py] Controlling web2py development, qa and production staging environments

2016-10-12 Thread Terrence Monroe
I asked basically the same question on StackOverflow http://stackoverflow.com/questions/39989174/controlling-web2py-development-qa-and-production-app-staging but have some more insight into my requirements. I will be developing a website with a Postgres back-end. Locally, on my laptop I will

[web2py] Dynamically loading the answers to faq questions as a response to a click event.

2016-10-15 Thread Terrence Monroe
Hello, I would like to build upon a previous discussion about creating a FAQ in web2py: https://groups.google.com/forum/#!msg/web2py/gzCnwBIlkeM/GJsXi0puHMYJ;context-place=forum/web2py I like the data model discussed there: db.define_table('faq', Field('question','string'),

Re: [web2py] Re: Controlling web2py development, qa and production staging environments

2016-10-12 Thread Terrence Monroe
On Wed, Oct 12, 2016 at 7:14 PM, Dave S wrote: > > > On Wednesday, October 12, 2016 at 3:08:42 PM UTC-7, Jim S wrote: >> >> 1. I use git to install web2py on both my dev, staging and production >> environments. >> 2. Same as #1. >> > > And 1) and 2) can be combined with

[web2py] Providing completion suggestions via AJAX for an input field in web2py

2016-12-13 Thread Terrence Monroe
In web2py it is trivial to engineer a web service that would do a partial search across all text fields for entered characters and return a JSON array of all matches. However is there some way with web2py to present these for a user to select one to complete the entry of an input field? For