[web2py] Re: computed field and reference

2013-05-29 Thread Matteo Luperto
fact your underlying model, I'd advise to > rethink to it :P > It's a simplified version of the two db tables who behaved oddly. "ComputedField" is actually an hash value based on different fields from the table. :) > > On Monday, May 27, 2013 3:53:03 PM UTC+2, Mat

[web2py] computed field and reference

2013-05-27 Thread Matteo Luperto
Hi, I want to compute a field based on the value of another field, which is a foreign key, in a way similar to: db.define_table('language', Field('language', 'string', required = True, unique = True, length = 64 ), format='%(language)s' ) db.define_table('problemsHere', Field('langu

[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Matteo Luperto
Update: Changing from gluon import * from globals import Storage, Response to from gluon import * from gluon.globals import Storage, Response AND restart web2py solve the "import" problem in a plugin. Il giorno mercoledì 10 aprile 2013 16:49:08 UTC+2, Matteo Luperto ha scritto: >

[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Matteo Luperto
prova Il giorno mercoledì 10 aprile 2013 16:49:08 UTC+2, Matteo Luperto ha scritto: > > Dear web2py users, > I am novice web2py user and I've recently started developing my first real > project. > Unfortunately I'm having some issues: > >- The plugin-con

[web2py] Re: Strange Plugin behaviour

2013-04-11 Thread Matteo Luperto
o another unix environment, or to start using the binaries version to fix this issue? Also I've noticed that every time I save a file into a plugin I got a pop-up alert "failed to reload module because: Invalid token ( line 1)". This means that I've to restart web2py every t

[web2py] Strange Plugin behaviour

2013-04-10 Thread Matteo Luperto
Dear web2py users, I am novice web2py user and I've recently started developing my first real project. Unfortunately I'm having some issues: - The plugin-controller code is not update when modified, unless the server is restarted. Example: if there's an error at a certain line and I c