Re: [web2py] learning curve?

2016-02-09 Thread Thomas Bellembois
Hi Jon, I have spent a long time studying the different Python Web frameworks to develop a small chemical products management application and I have choosen Web2py mainly because of its fast learning curve (and also the active community). The official documentation is a really good point to s

[web2py] IPython Vim and Web2py shell

2015-02-18 Thread Thomas Bellembois
Hello, Is there any way to attach vim with the vim-ipython plugin (https://github.com/ivanov/vim-ipython) to an existing Web2py shell ? I would like to be able to start my application in shell mode: ./web2py.py -a foo -S myapp -M And then attach vim to this shell instance: :IPython --existing ke

Re: [web2py] LDAP auth and user_groups

2014-03-17 Thread Thomas Bellembois
, Richard Vézina a écrit : > You can fix it and propose a patch!! > > > Richard > > > On Mon, Mar 17, 2014 at 12:34 PM, Thomas Bellembois > wrote: > Hello, > > Is there any way to use LDAP authentication for users and >

[web2py] LDAP auth and user_groups

2014-03-17 Thread Thomas Bellembois
Hello, Is there any way to use LDAP authentication for users and create user groups ? Apparently the get_or_create_user() method does not create them when the user comes from LDAP. Thanks, Thomas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/we

Re: [web2py] Custom widget and keepvalue

2014-03-13 Thread Thomas Bellembois
't have time to read all this... > Could you point me on were in the code you think the problem is... > Maybe screenshot of your widget can help me figure out what it does > and how... > > > Richard > > > > > On Wed, Mar 12, 2014 at 10:32 AM, Thoma

Re: [web2py] Custom widget and keepvalue

2014-03-12 Thread Thomas Bellembois
In the attachment. Thomas Le mercredi 12 mars 2014 à 10:26 -0400, Richard Vézina a écrit : > Hmmm... > > > Code please! > > > Richard > > > On Wed, Mar 12, 2014 at 9:56 AM, Thomas Bellembois > wrote: > Yes, I tried but it did not work eit

Re: [web2py] Custom widget and keepvalue

2014-03-12 Thread Thomas Bellembois
; > Richard > > > On Wed, Mar 12, 2014 at 8:31 AM, Thomas Bellembois > wrote: > Actually I need to initialize many parameters so I took model > on the > AutocompleteWidget widget. > > > > Le mardi

Re: [web2py] Custom widget and keepvalue

2014-03-12 Thread Thomas Bellembois
ue) > ... > > > Hope it helps. > > > Richard > > > > > On Tue, Mar 11, 2014 at 10:14 AM, Thomas Bellembois > wrote: > Dear web2py community, > > I have build my own widget like: > >

[web2py] Custom widget and keepvalue

2014-03-11 Thread Thomas Bellembois
Dear web2py community, I have build my own widget like: class CHIMITHEQUE_MULTIPLE_widget(object): def __init__(self, ..., **attributes): ... def __call__(self, field, value): ... # build the widget and populate with the value parameter if not Null ...

Re: [web2py] Re: requires IS_IN_DB multiple and zero

2013-01-30 Thread Thomas Bellembois
selection simply by not clicking/checking any of the options. Anthony On Wednesday, January 30, 2013 5:41:16 AM UTC-5, Thomas Bellembois wrote: Hello web2py community, I have a multiple select widget: db.PRODUCT.class_of_compounds.requires=[IS_EMPTY_OR(IS_IN_DB(db, db.CLASS_OF_CO

[web2py] requires IS_IN_DB multiple and zero

2013-01-30 Thread Thomas Bellembois
Hello web2py community, I have a multiple select widget: db.PRODUCT.class_of_compounds.requires=[IS_EMPTY_OR(IS_IN_DB(db, db.CLASS_OF_COMPOUNDS.id, label=db.CLASS_OF_COMPOUNDS._format, multiple=True, sort=db.CLASS_OF_COMPOUNDS.label, zero='choose'))] The "zero" field does not appear. If I ch

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Thomas Bellembois
Le 12/06/2012 15:41, Johann Spies a écrit : On 12 June 2012 15:17, Massimo Di Pierro > wrote: The official web2py book is now free for everybody: https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf Thanks! Regards Johann -- Because e

Re: [web2py] Re: Nginx + uwsgi file download problem

2012-01-31 Thread Thomas Bellembois
Le 31/01/2012 09:18, nick name a écrit : No, the thread started with Ie8 being suspects, but at least from my experiments it is a problem in Rocket which can be triggered with any browser or even without a browser (e.g. wget/curl instead of a browser) See e.g. https://github.com/explorigin/Ro

Re: [web2py] Re: Nginx + uwsgi file download problem

2012-01-31 Thread Thomas Bellembois
Le 31/01/2012 07:38, nick name a écrit : Almost surely the same problem discussed in this thread: https://groups.google.com/d/msg/web2py/1_b63bhBeQs/sYFbXNJL8D4J It looks like the problem is with IE8 in this thread ? Tried to set the content-lenght header but I miss something: response.hea

[web2py] Nginx + uwsgi file download problem

2012-01-27 Thread Thomas Bellembois
Hello, I have a file download problem with my Web2py application. The file is about 200kB. web2py version: 1.99.2 (2011-09-26 06:55:33) stable nginx-1.0.6 uwsgi-0.9.9.2 Debian Squeeze. One of my crontroler creates a tar.gz file and returns it to the user. It works well with the default rocke

Re: [web2py] Re: Clean up unused string

2011-09-28 Thread Thomas Bellembois
ichard.vez...@gmail.com>> wrote: > What do you mean, the untranslated yellow background entry or the old entry > not good anymore? > > Richard > > On Tue, Sep 27, 2011 at 11:21 AM, Thomas Bellembois <

[web2py] Clean up unused string

2011-09-27 Thread Thomas Bellembois
Hello, Is there a way to clean up unused translation strings ? I have googled the question without success... http://www.mail-archive.com/web2py@googlegroups.com/msg06533.html Regards, Thomas

Re: [web2py] Compile from command line

2011-09-05 Thread Thomas Bellembois
Le 29/08/2011 04:40, Mike Veltman a écrit : here: http://thadeusb.com/weblog/2010/4/21/compile_web2py_apps_externally python -c "import gluon.compileapp; gluon.compileapp.compile_application('applications/')" On Sun, Aug 28, 2011 at 10:05 PM, Mike Veltman wrote: Its pretty annoying because I

[web2py] dropdown plugin

2011-03-14 Thread Thomas Bellembois
Hello, I have just installed the dropdown plugin. It works well except for list:reference fields. I have just modified the models/plugin_dropdown.py file: def create(): table,field = request.args(0).split('.') # MODIF field_tablename = db[table][field].type.split(' ')[1] referee