[web2py] plugin_jqgrid and events

2010-07-21 Thread Massimiliano
ike this one <http://yfrog.com/08schermata20100721a12165j>: Has someone found a solution for that? Thank you -- Massimiliano

Re: [web2py] Re: plugin_jqgrid and events

2010-07-21 Thread Massimiliano
Massimo, thank you for your fast reply. unfortunately with setGridParm I get the same behavior. What are your "best practice" to edit a record using jqgrid for selection? Thank you and thank you again for you work. Massimiliano On Wed, Jul 21, 2010 at 1:59 PM, mdipierro wrote: &g

[web2py] jqgrid header caption

2010-07-23 Thread Massimiliano
Hi, I would to propose a little modify to use field.label as header caption in plugin_jqgrid: just replace the line: colnames = [x.replace('_',' ').capitalize() for x in columns] with colnames = [table[c].label or c.replace('_',' ').capitalize() for c in columns] -- Massimiliano

[web2py] Create detail record

2010-07-23 Thread Massimiliano
;dateinvoice', 'date', default=now,label='Data') ... ) db.define_table( 'invoice_rows', Field('invoice_id', db.invoices) ... ) Thank you -- Massimiliano

Re: [web2py] Re: Create detail record

2010-07-23 Thread Massimiliano
rm=SQLFORM(db.invoicesrows, invoice_id=my_invoice_id) Thank you Massimiliano On Fri, Jul 23, 2010 at 4:34 PM, Vidul Petrov wrote: > You may want to read this part of the book: > http://web2py.com/book/default/section/6/6?search=joins > > On Jul 23, 4:41 pm, Massimiliano wrote: > &

Re: [web2py] Re: Create detail record

2010-07-23 Thread Massimiliano
Ok... It's friday :D row_id = db.invoice_rows.insert(invoce_id=my_invoice_id) form=SQLFORM(db.invoicesrows, row_id) On Fri, Jul 23, 2010 at 4:51 PM, Massimiliano wrote: > Thank you. > > So I need to do it manually... > > row_id = db.invoice_rows.insert(invoce_id=my_i

[web2py] Grouping fields

2010-10-24 Thread Massimiliano
also more readable. After that I will create containers directly in view via js/jquery. Is there a better way? Would be nice if we can add something in field defs so that SQLFORM can group them directly :D Thank you -- Massimiliano

Re: [web2py] Re: new web2py appliance: File Manager

2010-11-04 Thread Massimiliano
Done. Has been a good exercise. How can I publish it? -- Massimiliano On Thu, Nov 4, 2010 at 2:22 AM, mdipierro wrote: > It should be easy to turn it into a plugin. Any takers? > > On Nov 3, 6:20 pm, yamandu wrote: > > Is there a way to integrate into my app? > >

[web2py:34859] Re: Join web2py wave

2009-11-08 Thread Massimiliano
I would love to receive an invite Thank you Massimiliano On Sun, Nov 8, 2009 at 7:15 AM, Roger Gicquel wrote: > > +1 pls. > > On Nov 8, 4:37 am, DenesL wrote: > > I will take one. Thank you. > > > > On 7 nov, 16:08, Nicolás de la Torre wrote: > > > &

[web2py:34944] Re: Join web2py wave

2009-11-09 Thread Massimiliano
o: > > > > > vinc...@vincentdavis.com > > > thade...@thadeusb.com > > > szims...@gmail.com > > > boris.manojlo...@gmail.com > > > richard_gor...@verizon.net > > > chris.st...@gmail.com > > > m.grit...@gmail.com > > > lapcc...@gmail.com

[web2py] jquery UI Widgets: wijmo

2010-12-10 Thread Massimiliano
Looks interesting http://wijmo.com/ -- Massimiliano

[web2py] groupby in grid

2012-08-22 Thread Massimiliano
ytime.day, db.smsbytime.hour, sum], groupby=date_fields, orderby=date_fields ) Thank you -- Massimiliano --

Re: [web2py] Numerical List of Entries

2012-09-10 Thread Massimiliano
they display 1 2 > 3 4 5 6 up to 10 pages until you select 10 then it displays 11 12 13 etc :-) > > *cheers > > and ty for any help :-) > > > -- > > > > -- Massimiliano --

[web2py] SQLTABLE, orderby and components

2012-09-14 Thread Massimiliano
k you -- Massimiliano --

Re: [web2py] Re: SQLTABLE, orderby and components

2012-09-17 Thread Massimiliano
s.get(c, c), _href=th_link+'?orderby=' + c, cid=cid))) Thank you On Fri, Sep 14, 2012 at 4:03 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Can you provide an example? > > > On Friday, 14 September 2012 03:23:25 UTC-5, Massimiliano wrote: >>

Re: [web2py] Re: SQLTABLE, orderby and components

2012-09-17 Thread Massimiliano
nd me a patch and I will try it? > > > On Monday, 17 September 2012 03:39:30 UTC-5, Massimiliano wrote: > >> Just add an argument cid=None to SQLTABLE.__init__ >> and change line 2408-9 >> >> from >> row.append(TH(A(headers.get(c, c), >

[web2py] Scheduler and legacy databases

2013-02-25 Thread Massimiliano
.FALSE and db._adapter.TRUE. Is there something that I can do to help fixing that? I think that to support custom boolean value is very important where working on legacy databases. Thank you very much -- Massimiliano -- --- You received this message because you are subscribed to the Google

Re: [web2py] Scheduler and legacy databases

2013-03-08 Thread Massimiliano
> scheduler creates its own tables, so why the need for smallints as booleans > ? > > > On Friday, March 8, 2013 9:28:13 AM UTC+1, Massimiliano wrote: > >> Is there any chance to take a look on this problem? >> >> Thank you >> >> >> >> On M

Re: [web2py] Scheduler and legacy databases

2013-03-11 Thread Massimiliano
7;TEXT', > 'list:reference': 'TEXT', > 'geometry': 'GEOMETRY', > 'geography': 'GEOGRAPHY', > 'big-id': 'BIGSERIAL PRIMARY KEY', > 'big-reference': '

[web2py] All app redirected to https

2012-10-23 Thread Massimiliano
Hi, I found that with the last update, I'm using trunk, but it seems that also the stable one behave the same, all apps are redirected to https. Only admin, welcome and examples are correctly routed in http. Is it my problem or it's a bug? Thank you -- Massimiliano --

Re: [web2py] Re: All app redirected to https

2012-10-23 Thread Massimiliano
) somewhere or some custom routes ? > > > On Tuesday, October 23, 2012 4:36:24 PM UTC+2, Massimiliano wrote: >> >> Hi, >> I found that with the last update, I'm using trunk, but it seems that >> also the stable one behave the same, all apps are redirected to ht

Re: [web2py] Re: All app redirected to https

2012-10-23 Thread Massimiliano
I don't understand what could be... A new installation give me the same problem... A simple python httpserver work as expected.. I've not router.py or routes.py in web2py folder and I never used requires_https()... What can I check? Thank you -- Massimiliano Il giorno 23/ott/2012

Re: [web2py] Re: All app redirected to https

2012-10-23 Thread Massimiliano
I've found the problem. Was Auth(secure=True) that never had this behavior.. till now On Tue, Oct 23, 2012 at 9:47 PM, Massimiliano wrote: > mbp:web2py max$ curl -l http://127.0.0.1:8000/m/default/index > You are being redirected https://127.0.0.1:8000/m/default/index > "

[web2py] track_changes

2012-11-07 Thread Massimiliano
Version 2.2.1 (2012-11-06 14:26:21) stable It's just me or it doesn't work anymore? -- Massimiliano --

Re: [web2py] Re: track_changes

2012-11-08 Thread Massimiliano
i cannot reproduce. Can you more about > the environment and post a sample app? > > -- > > > > -- Massimiliano --

Re: [web2py] Re: track_changes

2012-11-08 Thread Massimiliano
Massimo pointed me out in the right direction. I was putting the tracking code in the wrong place. I should be in the app and not in modules... On Thu, Nov 8, 2012 at 4:39 PM, Massimiliano wrote: > I filed a bug: > http://code.google.com/p/web2py/issues/detail?id=1128 > > an

Re: [web2py] invalid function (appadmin/graph_model)

2012-12-27 Thread Massimiliano
; invalid function (appadmin/graph_model) > > -- > > > > -- Massimiliano --

Re: [web2py] Re: utf-8 and pyfpdf

2012-01-01 Thread Massimiliano
gt; Another question about pyfpdf: >> >> Is there any chance to get some more utf-8-characters? >> (I have asked this some months ago). >> >> It seems, that pyfpdf only supports the basic ascii character set and no >> latin-1-characters. >> I want to use äöü ß ÄÖÜ €...and so on. >> >> Regards, Martin >> >> > -- Massimiliano

Re: [web2py] Re: Postgres: what am i doing wrong ?

2012-02-07 Thread Massimiliano
for more information. > > > (InteractiveConsole) > > >>>> db = DAL('postgres://postgres:@localhost/courier') > > >>>> print db.tables > > > [] > > > > > As you can see, I apparently have no tables in my database but I can > > > definitely see them in web2py's admin interface! > > > Am I doing something wrong ? > > > > > Spec: > > > Web2py: 1.99.3 > > > Postgres: 9.1.2 > > > Psycopg2: 2.4.4 > -- Massimiliano

[web2py] Openldap and user_groups

2012-02-08 Thread Massimiliano
_groups = {} Happen that current.session.auth is None If I comment current.session: user_groups = self.user_groups = {} # = current.session.auth.user_groups = {} login is working and user groups are created. I'm missing something? Thank you -- Massimiliano

[web2py] Re: Openldap and user_groups

2012-02-08 Thread Massimiliano
This options resolve the error: *auth.settings.create_user_groups = False* On Wed, Feb 8, 2012 at 1:22 PM, Massimiliano wrote: > Hi, > > I'm trying to login to our openldap server. > > When a user login for the first time I got this error: > * > * > *AttributeEr

Re: [web2py] login next doesn't work Version 1.99.4 (2011-12-14 14:46:14) stable

2012-02-08 Thread Massimiliano
ngs.login_next = URL('default','get_ldapgroups') > > Is it expected? It just goes to index and doesn't care about my > redirection... > > Regards, > > Tito > > > -- > > Linux User #387870 > . > _/_õ|__| > ..º[ .-.___.-._| . . . . > .__( o)__( o).:___ > -- Massimiliano

Re: [web2py] login next doesn't work Version 1.99.4 (2011-12-14 14:46:14) stable

2012-02-08 Thread Massimiliano
ido > wrote: > > I don't know how I can debug it :-/ > > > > On Wed, Feb 8, 2012 at 12:45 PM, Massimiliano > wrote: > >> > >> Same problem here > >> > >> On Fri, Feb 3, 2012 at 5:12 PM, Tito Garrido >

Re: [web2py] Re: 1.99.4 Active Directory LDAP Issue

2012-02-23 Thread Massimiliano
web2py > from gluon.contrib.login_methods.ldap_auth import ldap_auth > auth.settings.login_methods = [ldap_auth(mode='ad', >server='server.domain.com', >base_dn='dc=domain,dc=com')] > > -- Massimiliano

Re: [web2py] Re: About ldap_auth in 1.99.6

2012-03-03 Thread Massimiliano
Wow that's great!! I tested both allowed_groups and managed_groups in opendladp and it work!!! Thank you -- Massimiliano On Sat, Mar 3, 2012 at 8:57 AM, szimszon wrote: > If there is somebody using ldap_auth with AD please try to test > allowed_groups and / or manage_groups a

Re: [web2py] Re: web2py[:]

2012-03-05 Thread Massimiliano
Very nice work! I think it could be a booster for web2py community! Congratulations On Mon, Mar 5, 2012 at 8:25 PM, Omi Chiba wrote: > It looks great !! > > -- Massimiliano

Re: [web2py] Installing PIL for creating thumbnails in windows7 environment

2012-03-13 Thread Massimiliano
install python-imaging,sudo > easy_install PIL and sudo pip install PIL) but I think these are only > applicable for linux environment if there is any possibility to install PIL > in win it would be fine > -- Massimiliano

[web2py] SQLFORM.factory and Submit value

2011-09-07 Thread Massimiliano
Hi all, I've a form generated by SQLFORM.factory How do I change the Submit value to have a more explicative sentence? Is there a way? Thank you -- Massimiliano

[web2py] Re: SQLFORM.factory and Submit value

2011-09-07 Thread Massimiliano
I've found the way :-) form = SQLFORM.factory( Field(...), table_name=..., submit_button='Your value' ) Thank you On Wed, Sep 7, 2011 at 5:16 PM, Massimiliano wrote: > Hi all, > > I've a form generated by SQLFORM.factory > > How do I change the Submit value

Re: [web2py] Re: online book

2011-09-21 Thread Massimiliano
eeds rocket upgrade, thanks Michele) >> - new syntax rows[i]('tablename.fieldname') >> - new query syntax field.contains(list,all=True or False) >> - new SQLFORM.grid and SQLFORM.smartgrid (should replace crud.search >> and crud.select) >> - support for natural language queries (english only) in SQLFORM.grid >> - support for computed columns and additional links in SQLFORM.grid >> - new style virtual fields (experimental): >> db.table.field=Field.Lazy(...) >> - request.utcnow >> - cleaner/simpler welcome/models/db.py and welcome layout.html >> - response.include_meta() and response.include_files(), thanks Denes >> - dal auto-reconnect on time-out connections >> - COL and COLGROUP helpers >> - addresed OWASP #10, thanks Anthony and Eric >> - auth.settings.login_after_registration=True >> - detection of mobile devices and @mobilize helper (view.mobile.html), >> thanks Angelo >> > > -- Massimiliano

Re: [web2py] Re: online book

2011-09-21 Thread Massimiliano
And for Chrome or safari is there a way? On Wed, Sep 21, 2011 at 9:49 AM, Bruno Rocha wrote: > what browser? > > IN firefox you go to preferences > content > language and set en as the > primary one. > > > On Wed, Sep 21, 2011 at 4:40 AM, Massimiliano wrote: > >

Re: [web2py] Re: online book

2011-09-21 Thread Massimiliano
Ok found for Chrome: Preferenze->Roba da smanettoni->Impostazioni di lingua e controllo ortografico Thank you for the tip On Wed, Sep 21, 2011 at 9:51 AM, Massimiliano wrote: > And for Chrome or safari is there a way? > > > On Wed, Sep 21, 2011 at 9:49 AM, Bruno Roch

Re: [web2py] Can't use len() on db.select results? Can this be so?

2011-09-22 Thread Massimiliano
hat rockit prints: > SELECT supplier_contacts.first_name, supplier_contacts.middle_name, > supplier_contacts.last_name, supplier_contacts.generation FROM > supplier_contacts WHERE (supplier_contacts.supplier_id = 1); > > I can work around this using db().count(), but it's an extra database > hit and makes the code verbose. -- Massimiliano

Re: [web2py] web2py with twitter bootstrap - very clean interface ...

2011-09-26 Thread Massimiliano
Very nice interface... On Mon, Sep 26, 2011 at 8:10 AM, David Marko wrote: > http://labs.blouweb.com/bootstrap/default/index > -- Massimiliano

Re: [web2py] Re: web2py with twitter bootstrap - very clean interface ...

2011-09-26 Thread Massimiliano
up about? > > > > > -- > > > Massimiliano > > > > -- > > Alvaro Lizama Molina -http://alvarolizama.net > -- Massimiliano

Re: [web2py] smartgrid: currency format

2011-09-28 Thread Massimiliano
on smartgrid ? -- Massimiliano

Re: [web2py] Re: smartgrid: currency format

2011-09-28 Thread Massimiliano
% (0.0 if value == None else value),_style='text-align: right;')) > > > > >> On 9/28/2011 10:42 AM, Omi Chiba wrote: > > > > >>> Um, actually one more question. > > >>> Now I have two represent and riht now either one of them work but not > > >>> b

Re: [web2py] Dynamic Model

2011-09-30 Thread Massimiliano
I'm very interested on dynamic model and I'm investigating a little bit. I've had some results with this model. The user can define compound models. Types are ancestor types (string, integer etc) useful for representation db.define_table( 'types', Field('type', 'string'), format='%

[web2py] Duplicate record with details

2011-10-04 Thread Massimiliano
detail.id = 0 detail.iddoc = doc.id detail.update_record() What is the right way? Thank you -- Massimiliano

Re: [web2py] Re: Duplicate record with details

2011-10-04 Thread Massimiliano
detail.id = 0 detail.iddoc > = doc.id > db.detail.insert(db.doc._filter_fields(**dict(detail)) > > On Oct 4, 8:04 am, Massimiliano wrote: > > I've a doc with detail rows related. > > > > I want to duplicate the doc and all details related

Re: [web2py] logged in user

2011-10-07 Thread Massimiliano
Take a look at the table auth_events -- Massimiliano Il giorno 07/ott/2011, alle ore 14:34, Web2Py Freak ha scritto: > Dear All , > > How Can I get the name of the user who is logged in my website ??

[web2py] Grid and links

2011-10-10 Thread Massimiliano
I like the new grid/smartgrid a lot, but when you have many linked tables the grid appears a little bit cluttered. What do you think of an option that hide all links/buttons (but not detail button) from the grid, but show them on the detail view? Thank you -- Massimiliano

Re: [web2py] Re: Grid and links

2011-10-10 Thread Massimiliano
Thank you Massimo, I'm aware of that. I was just looking for a way to show all "buttons" but "detail" only in the detail view (the one generated from the grid) and not in the table view. -- Massimiliano On Mon, Oct 10, 2011 at 3:58 PM, Massimo Di Pierro < massi

Re: [web2py] Attaching a file to a mail

2011-11-22 Thread Massimiliano
x27;]='application/pdf' >return f.render('invoice.pdf', dest='S') > > This is probably a pypdf question but I was hoping somebody can help me. > > I guess that the pyfpdf should be written to the servers harddisk and when > the mail is created it picks up the file. > > Anybody done anything like this? > > > Kenneth > -- Massimiliano

[web2py] Postgresql database schema

2011-05-30 Thread Massimiliano
Hi all, I've a legacy enterprise application that use postgresql as database. Existing tables are divided on different database schemas (not only public). Now I want to rewrite a single application that use existing tables on schema "xyz". Does web2py support that? Thank you -- Massimiliano

Re: [web2py] Re: Postgresql database schema

2011-05-31 Thread Massimiliano
emaname,public';") > > If you could determine the name of the schema first that would be > feasible. > > On May 30, 5:14 am, Massimiliano wrote: > > Hi all, > > > > I've a legacy enterprise application that use postgresql as database. > &g

Re: [web2py] web2py and postgresql schema

2011-06-25 Thread Massimiliano
r changing the > database logic ? > > I write here because on internbet there was not a clear answer if you > can work with it or not. > Ciao -- Massimiliano

[web2py] OffTopic Google+

2011-07-01 Thread Massimiliano
Anyone interested? Mail me privately Ciao -- Massimiliano

[web2py] SQLFORM.factory tablename doesn't affect submit row

2011-07-01 Thread Massimiliano
>From something like that: form = SQLFORM.factory( Field('mydate', 'date', label='Data carico', requires=IS_DATE()), table_name='mytable', _id = 'myform' ) I got: [...] ... [...] The submit row doesn't take the tablename Is it normal? -- Massimiliano

Re: [web2py] XMPP chat client

2011-08-17 Thread Massimiliano
on't know much about de xmpp protocol itself. > > > Thanks in advance, > > Fernando Macedo > > "Somos o que repetidamente fazemos; a excelência, portanto, não é um feito, > mas sim um hábito!" - Aristóteles > -- Massimiliano

[web2py] auth on cas and consume data from some apps

2016-05-17 Thread Massimiliano
Hello, I've a system composed of some apps sharing auth on *cas*. I would like that app A could get json data from app B but it seems not possibile if the user doesn't login in each app before. Jus to to clarify. Timeline. 1. User login on app A 2. App A try to get data from app B but He got

Re: [web2py] auth on cas and consume data from some apps

2016-05-17 Thread Massimiliano
Another timeline that clarify the situation. with @auth.requires_login() 1. User login on app A 2. User follow the link on app B/function_decorated 3. App A try to get data from app B all is working well Thank you On Tue, May 17, 2016 at 11:34 AM, Massimiliano wrote: > Hello, > &g

Re: [web2py] SQL query to web2py code

2016-06-09 Thread Massimiliano
because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimil

Re: [web2py] I am trying to change the background image every 5 seconds like this but this doesn't seem to work?

2016-06-13 Thread Massimiliano
you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano --

Re: [web2py] I am trying to change the background image every 5 seconds like this but this doesn't seem to work?

2016-06-13 Thread Massimiliano
quot;{{=getimage}}"); > }, 500); > > > > > Still doesn't work! > > On Monday, June 13, 2016 at 3:17:15 PM UTC+5:30, Massimiliano wrote: >> >> In *k* you have strings like “URL(‘static’,’images/1.jpg’)” not the URL >> func result. >> >>

Re: [web2py] Why is this simple join not rendering?

2016-06-17 Thread Massimiliano
n > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/is

[web2py] custom postgres adapter

2016-06-22 Thread Massimiliano
Hi, I'm working on legacy databases where boolean are defined as smallint. The following adapter doesn't work anymore. Could you give me some hint on how can I write a new one for the "new" pydal. Thank you The adapter that was working till now: # -*- coding: utf-8 -*- from pydal.adapters im

Re: [web2py] fieldname variable in DAL expression

2016-06-22 Thread Massimiliano
an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

Re: [web2py] Hide flash message after some elapsed time instead of on click

2016-07-11 Thread Massimiliano
ource code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2

Re: [web2py] need code to update db from view to controller.

2016-08-11 Thread Massimiliano
@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list

Re: [web2py] change the default applicaton of web2py

2016-09-12 Thread Massimiliano
it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com

Re: [web2py] Re: request.user_agent().is_mobile

2013-11-28 Thread Massimiliano
e Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Massimiliano -- Resources: - http://web2py.c

Re: [web2py] String to query

2015-11-20 Thread Massimiliano
) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups

Re: [web2py] String to query

2015-11-20 Thread Massimiliano
… but if you really want to use a string you can do: query = eval(“db.memos.construction_site == 1") On Fri, Nov 20, 2015 at 11:53 AM, Massimiliano wrote: > If I’m not missing something you can you do: > > table = ‘memos’ > field = ‘construction_site’ > param1 = 1 > par

Re: [web2py] Impostare un gruppo d'appartenenza di DEFAULT per la registrazione

2015-12-04 Thread Massimiliano
s" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - ht

Re: [web2py] web2py.com seams down

2015-12-09 Thread Massimiliano
ving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

Re: [web2py] db.define_table Advanced Field

2015-12-10 Thread Massimiliano
; - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. &g

Re: [web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Massimiliano
ecause you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimil

Re: [web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Massimiliano
, Massimiliano wrote: > pip search inno > > return a couple of suitable entries > > On Fri, Dec 11, 2015 at 2:08 PM, Jitun John wrote: > >> Hi, >> >> I am using Web2pyPackagingApp to build a binary distribution of the app. >> I have searched for the"i

Re: [web2py] Re: Support for BIT(1) as boolean?

2016-01-11 Thread Massimiliano
s" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Docu

Re: [web2py] Re: Spreadsheet.py documentation and status

2016-02-09 Thread Massimiliano
d an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/

Re: [web2py] Re: How to insert different grid elements in tab panels?

2016-03-18 Thread Massimiliano
;>> >>>>> My Projects >>>>> My Payments >>>>> My Contacts >>>>> >>>>> >>>>> >>>>> {{=grid1}} >>>>> >>>>> >>>>

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread Massimiliano
u received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/opto

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread Massimiliano
Just copy appconfic.ini from welcome/private to starter/private On Wednesday, March 23, 2016 at 11:19:23 AM UTC+1, Ramos wrote: > > Nice but i get an error installing it as "starter" application > any help ? > > [image: Imagem inline 1] > > 2016-03-23 9:40 GMT+

Re: [web2py] Create links in smartgrid for the child

2016-03-31 Thread Massimiliano
ge because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano

Re: [web2py] Create links in smartgrid for the child

2016-03-31 Thread Massimiliano
Sorry is a little more complex to get the table name involved. It should be in request.args(1) table = request.args(1).rpartition('.')[0] On Thu, Mar 31, 2016 at 12:10 PM, Massimiliano wrote: > Maybe you can check the table involved and set links option accordingly. >

Re: [web2py] Create links in smartgrid for the child

2016-03-31 Thread Massimiliano
There is a simple way :-) from the code: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2914 links(dict): like `{'tablename':[lambda row: A(), ...]}` that will add buttons when table tablename is displayed On Thu, Mar 31, 2016 at 12:18 PM, Massimiliano wrote:

Re: [web2py] Re: cas broken in 2.14.3?

2016-04-07 Thread Massimiliano
is url gives "not authorized". >>> >>> Kind regards, Martin >>> >>> >>> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/

Re: [web2py] Re: How to serve same view for multiple urls

2018-03-15 Thread Massimiliano
l to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
bscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: -

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
Could be. When you strart web2py it show database driver available: Mine: Database drivers available: psycopg2, pymysql, imaplib, sqlite3, pg8000, pyodbc, pymongo On Wed, Jan 23, 2019 at 10:59 AM Lisandro wrote: > Thanks Massimiliano. > > Apparently psycopg2 is already installed (

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
Try to uninstall psycopg2-* and reinstall only psycopg2-binary On Wed, Jan 23, 2019 at 11:52 AM Massimiliano wrote: > Could be. > > When you strart web2py it show database driver available: > Mine: > Database drivers available: psycopg2, pymysql, imaplib, sqlite3, pg8000, &g

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
L > without problems. Would this mean it is using the pg8000 driver? Would > psycopg2 be available to web2py once I reinstall it (restarting uwsgi)? > > > > El miércoles, 23 de enero de 2019, 7:54:37 (UTC-3), Massimiliano escribió: >> >> Try to uninstall psycopg2-* and r

Re: [web2py] Re: custom search

2019-04-26 Thread Massimiliano
issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more opt

[web2py] TABLE and aggregate fields

2014-06-03 Thread Massimiliano
t ONLY the 2 fields zone.zona,tratte.tratta With the old web2py version this wasn't happen. Where can I start to look at this problem? Thank you -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sourc

Re: [web2py] Re: TABLE and aggregate fields

2014-06-04 Thread Massimiliano
print row > > doesn't change a bit. > > > On Tuesday, June 3, 2014 12:53:08 PM UTC+2, Massimiliano wrote: >> >> Hello, >> >> I've an application in production with 2.5.1-stable+timestamp.2013. >> 06.06.15.39.19, and I would like to upda

Re: [web2py] Re: TABLE and aggregate fields

2014-06-04 Thread Massimiliano
ni.bilici)": 1, "SUM(qviewriepilogoprevisioni.motrici)": 0, "SUM(qviewriepilogoprevisioni.abbinati)": 1}}] Thank you On Wed, Jun 4, 2014 at 10:47 AM, Niphlod wrote: > I don't know what to suggest unless you show some code. > > > On Wednesday, June 4, 2014 10

[web2py] query and fields involved

2014-12-11 Thread Massimiliano
Is there a way to know if a field is involved in a query inspecting the query object? Thank you -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

Re: [web2py] Re: query and fields involved

2014-12-12 Thread Massimiliano
he field names/string representations: > > any(db.mytable.myfield is field for field in list_of_field_objects) > > or: > > any(str(db.mytable.myfield) == str(field) for field in > list_of_field_objects) > > Anthony > > > On Thursday, December 11, 2014 9:5

Re: [web2py] append script with no extension

2014-12-24 Thread Massimiliano
st (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, vis

  1   2   3   >