[web2py] Re: IMPORTANT - WEB2PY CONSULTING

2015-03-05 Thread tahnoon pasha
As a user of web2py consultants, can I please just add what a great idea it is to do this. On Monday, 16 February 2015 06:21:36 UTC+8, Massimo Di Pierro wrote: > > We need to update the list of companies that provide web2py consulting. > This list is obsolete: > > http://web2py.com/init/default/s

[web2py] How to reuse a form in webpy

2014-12-10 Thread tahnoon pasha
Hi I'm trying to reuse a form to de-clutter my code. The idea was to create a form class using a SQLFORM.factory with all the validation rules set up and then use it for each view in the module. class form (): ''' USAGE: thisform = form(([clients],defaultc),([portfolios],defaultp),) ''

[web2py] Including a label inside a form field

2014-11-28 Thread tahnoon pasha
I have a series of form elements as follows form = SQLFORM.factory ( Field ('client', requires=IS_IN_SET (['Client','Rhubarb','Custard','Bogies']), default='Client'), Field ('portfolio', requires=IS_IN_SET (['US Equity','Multi Asset

[web2py] Getting a form field to return var on select

2014-11-28 Thread tahnoon pasha
Hi, I saw a discussion begin on this subject on Stackoverflow but can't find the continuation here. I have a case where I need to use the input in one form field (eg portfolio) to filter options of the IS_IN_SET constraint for a subsequent form field (eg sector/industry). I'm pretty new to

[web2py] Re: Getting web2py to reload module files for each return view

2014-10-26 Thread tahnoon pasha
app/modules folder then you can do in > your models/db.py > > DEBUG=True > from gluon.custom_import import track_changes; track_changes(DEBUG) > > This will reload your modules when they change/ > > > > On Friday, 24 October 2014 03:33:33 UTC-5, tahnoon pasha wrote: &g

[web2py] Getting web2py to reload module files for each return view

2014-10-24 Thread tahnoon pasha
Hi, Working with a team building a reasonably complex webapp for an investment management system, and I'm trying to learn something of the system too. I have a module that updates data from a file (simulating an FTP drop). Once the module has been loaded the first time, it doesn't update for