Re: [web2py] Re: Resources for setting up for development

2012-01-16 Thread Philip Kilner
Hi, On 16/01/2012 01:25, pbreit wrote: My sense is that few Python programmers use IDEs (I don't know any that do). If it's a brief talk, I'd suggest just using the file system and a good text editor and moving quickly to some of the great features of Web2py. If someone complains about code comp

[web2py] Re: form checkbox keepvalues

2012-01-16 Thread niktar
Thanx, Massimo! It works! But why not just set keepvalues=True? I thought this should be sufficient.

[web2py] Auth with Google Oauth2 - Google Plus, Gmail and other scopes

2012-01-16 Thread Bruno Rocha
Hi, I just implemented Google Connect Oauth2 in http://movu.ca/demo If someone interested in the code it is in https://github.com/rochacbruno/Movuca/blob/master/modules/oauth20_account_google.py(modified module) https://github.com/rochacbruno/Movuca/blob/master/modules/helpers/googleplus.py(modi

[web2py] Question about many to many forms

2012-01-16 Thread Thiago Magro
Hello everyone, I have a question with forms for many to many relations and I just cant find the answer. Its possible to have forms inside forms? For example: I have a model Food that has inside a lot of components(nutrients). So Food has many components. Is there any chances that I could create

Re: [web2py] Auth with Google Oauth2 - Google Plus, Gmail and other scopes

2012-01-16 Thread Michele Comitini
Hi Bruno, Do you think we can integrate all in one oath20 module? tnx mic 2012/1/16 Bruno Rocha : > Hi, > > I just implemented Google Connect Oauth2 in http://movu.ca/demo > > If someone interested in the code it is in > > https://github.com/rochacbruno/Movuca/blob/master/modules/oauth20_accoun

Re: [web2py] Re: Cherrypy can run on android ! without any patching needed , Can Rocket do that?

2012-01-16 Thread Phyo Arkar
There wont be much cons. I havn't tested tho. I tested cherrypy and works well , going to test Web2py with Nik's patch on my android tab. With web2py it will open alot of possiblities to android. Thats cool!. On Mon, Jan 16, 2012 at 3:24 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote

[web2py] SOLVED Re: Inline image generation with matplotlib

2012-01-16 Thread andrej burja
this works controller: def image(): return dict(a=IMG(_src=URL('myimage'+'.png'))) view: {{extend 'layout.html'}} This is the graph/image.html template {{=a}} but this doesn't controller: def image(): return myimage() view: {{extend 'layout.html'}} This is the graph/slika1.html template {{

Re: [web2py] Represent - redirect

2012-01-16 Thread Johann Spies
On 15 January 2012 22:49, Mathias Van Daele wrote: > Hello, > > I have a select crud, with a URL in the column id. > > If I click 'edit', I should be redirected to a page, where I can > update the concerned contact_part record. > (as in a grid) > > What should I put between the URL brackets ? _hr

[web2py] For trick

2012-01-16 Thread Web2Py Freak
Dear all , i am geting some images from the database and viewing them in the page i am using a for loop for the images and i want to have a after every 4 images ,, how can i do somthing like this ??

Re: [web2py] For trick

2012-01-16 Thread Kenneth Lundström
Please show us some code how you are doing it at the moment Kenneth Dear all , i am geting some images from the database and viewing them in the page i am using a for loop for the images and i want to have a after every 4 images ,, how can i do somthing like this ??

[web2py] query with T in a grid

2012-01-16 Thread Martin Weissenboeck
Hi, I have a grid=SQLFORM.grid(...searchable = True,...) A query like 'auth_user.last_name starts with "c"' works fine. Using the T-operator 'starts with' becomes (in German) 'beginnend mit' and the whole query 'auth_user.last_name beginnend mit "c"'. This gives the result "Invalid query". I thin

[web2py] Default/index fails to load

2012-01-16 Thread Andrew Evans
Just upgraded web2py to the latest version (1.99.4) and it fails to load my default/index pages on a few of my sites. Other pages work fine Any ideas what I am doing wrong? maybe something to do with routes? was working fine before *cheers

[web2py] Re: Default/index fails to load

2012-01-16 Thread Andrew Evans
Ok seems to be an issue using datetime or date Sorry about double posting if I did I may have posted on the wrong email. I appreciate any help though not sure what I need to post to get further help ValueError: invalid literal for int() with base 10 On Sun, Jan 15, 2012 at 6:43 PM, Andrew Ev

[web2py] web2py + cgi

2012-01-16 Thread Eduardo Bergavera
Hi There, I would like to solicit your opinion on whether web2py supports CGI and that it allows you to develop web apps using the framework. I plan to develop a web-based systems management tool for Ubuntu similar to webmin with features from Canonical's Landscape systems management tool. Thanks

[web2py] Re: Default/index fails to load

2012-01-16 Thread Andrew Evans
After a bit of research this is what I found the table which caused an error (it has been removed temporarily) but db.define_table('trailer', Field('userinfo', db.auth_user, default=auth.user_id, readable=False, writable=False), Field('title',requires=IS_NOT_EMPTY()), Field('descripti

Re: [web2py] For trick

2012-01-16 Thread Manuele Pesenti
Il 16/01/2012 14:02, Web2Py Freak ha scritto: Dear all , i am geting some images from the database and viewing them in the page i am using a for loop for the images and i want to have a after every 4 images ,, how can i do somthing like this ?? consider to use enumerate and test if the define

[web2py] Re: For trick

2012-01-16 Thread LightDot
Another solution would be to use css. Use divs for individual photos and than assign a class with float, that should do it nicely.

[web2py] Re: For trick

2012-01-16 Thread Anthony
{{for (i + 1, image) in enumerate(images):}} {{=i % 4 == 0 and '' or ''}} {{pass}} Anthony On Monday, January 16, 2012 8:02:52 AM UTC-5, Web2Py Freak wrote: > > Dear all , > > i am geting some images from the database and viewing them in the > page i am using a for loop for the images and i w

[web2py] Re: query with T in a grid

2012-01-16 Thread Martin Weissenboeck
Maybe the search_widget parameter of grid is a solution. 2012/1/16 Martin Weissenboeck > Hi, > > I have a grid=SQLFORM.grid(...searchable = True,...) > A query like 'auth_user.last_name starts with "c"' works fine. > Using the T-operator 'starts with' becomes (in German) 'beginnend mit' and > th

[web2py] Re: For trick

2012-01-16 Thread Web2Py Freak
Thnx Anthony , thank you all guys its working well now :)

[web2py] Re: web2py + cgi

2012-01-16 Thread Anthony
Yes -- see http://web2py.com/books/default/chapter/29/13 and http://code.google.com/p/web2py/source/browse/cgihandler.py. On Monday, January 16, 2012 6:18:10 AM UTC-5, Eduardo Bergavera wrote: > > Hi There, > > I would like to solicit your opinion on whether web2py supports CGI > and that it allo

[web2py] Re: matplotlib plugin

2012-01-16 Thread andrej burja
i've installed the latest verson of matplotlib (from source, also libpng and freetype) now matplotlib is working but using MATLAB a lot, i have one question: is it possible to usematplotlib.pyplot instead of matplotlib api (matplotlib.figure) and not saving the file (sendign directly to view)?

[web2py] using the calender in appadmin

2012-01-16 Thread Web2Py Freak
Dear All, How can i use the calender from the appadmin in another page ?

[web2py] Re: using the calender in appadmin

2012-01-16 Thread Anthony
Are you talking about the date picker? It should work on any page with input fields that have class "date", "time", or "datetime". Your layout view should include web2py_ajax.html, which will automatically include the required web2py.js and calendar.js files. Anthony On Monday, January 16, 201

[web2py] Re: How is the best way to export/import auth_user database?

2012-01-16 Thread thstart
yes, how to have same ID's?

[web2py] Re: Set table name

2012-01-16 Thread Marcello
Would be great This solution works great... but it's not accessible in the modules files, because dog is not visible there... On 14 jan, 15:21, Massimo Di Pierro wrote: > eventually we shoud have a way to remap table and field names that was > one of the main reason for rewriting the dal.

[web2py] Re: How is the best way to export/import auth_user database?

2012-01-16 Thread Anthony
Do you want to migrate the entire db? If so, then follow http://web2py.com/books/default/chapter/29/6#CSV-(all-tables-at-once). If you just want to migrate the Auth tables, I suppose you could temporarily change your model files so only the Auth tables are defined (or some subset of tables). Th

[web2py] 3-table many-to-many with IS_IN_DB

2012-01-16 Thread sunny
Hi, for days I try to find a solution for my problem which I'm sure exists. I want to create/update the many2many relationship "auth_user -> auth_membership -> auth_group" in an auth_user form with an "IS_IN_DB multiple=true"-widget. How can I do that? Thanks in advance, Sven

[web2py] Re: How is the best way to export/import auth_user database?

2012-01-16 Thread thstart
It is a complex case. I am using GAE and already having users. Needed to change the database structure, so I need to move to new GAE app. The simplest option is to re-invite the users but they are 100s. They will need to re-register again using email/password. Probably not big deal for them but

Re: [web2py] Auth with Google Oauth2 - Google Plus, Gmail and other scopes

2012-01-16 Thread Bruno Rocha
yes we can! the difference is only some keys passed to auth and token url, also the redirect page and the api caller. I think we can create an api proxy to decide which class to use and have the google/facebook/linkedin etc mappings in a single file. I will try and if works I send a patch. http:

[web2py] Re: How is the best way to export/import auth_user database?

2012-01-16 Thread Anthony
If I understand correctly, GAE doesn't even use auto-increment integer fields for id's, so it may not be practical to keep the current id's anyway. Can't you export/import both the auth_user and the membership table together, so even though it will change the auth_user id's, it will also change

Re: [web2py] Re: priority of web2py CMS

2012-01-16 Thread Ross Peoples
I am also working on a CMS that will be a bit different than Movuca. The goal with my CMS is that I could stick an executive in front of it (someone who barely knows how to check their email), and allow them to theme their site, lay it out they way they want, and add content with a simple drag &

[web2py] Re: How is the best way to export/import auth_user database?

2012-01-16 Thread thstart
you are correct - if I have a way to use GAE to populate auth table - this is the best way, but how to do that?

Re: [web2py] Re: matplotlib plugin

2012-01-16 Thread Mariano Reingart
You can send the image directly to the view, for an example see: http://code.google.com/p/rad2py/source/browse/psp2py/modules/draws.py http://code.google.com/p/rad2py/source/browse/psp2py/controllers/reports.py#243 Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.

Re: [web2py] Re: Set table name

2012-01-16 Thread Marin Pranjić
On Sat, Jan 14, 2012 at 6:21 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > eventually we shoud have a way to remap table and field names that was > one of the main reason for rewriting the dal. > > This is good because without remapping apps cannot share the same database (ie common

[web2py] Re: error class proposal

2012-01-16 Thread Massimo Di Pierro
Why do you want to add an "error" class to the input? The error class is normally used for inputs. Perhaps I do not understand. On Jan 15, 7:40 pm, David wrote: > I was thinking about the form validation. > > I thought that it may be useful to include an "error" class on the input > widget when t

[web2py] Re: ValueError: invalid literal for int() with base 10

2012-01-16 Thread Massimo Di Pierro
I think your problem is that you somehow have corrupted data in database, i.e. you stored a date in a field which you later changed to int and web2py cannot take it out any more. On Jan 15, 8:02 pm, Andrew Evans wrote: > Hello I just updated web2py and after restarting uwsgi I get an error on my

[web2py] Re: Output from some controller

2012-01-16 Thread Massimo Di Pierro
On Jan 15, 11:43 pm, blackshirt wrote: > Thanks Massimo, you were great's people.. > > 1. if we read from file resulted from redirected stdout, i think that > we get complete output finally, not ongoing process output ?? > that was right, Massimo ?? correct me if i'm wrong .. you read what has

Re: [web2py] Re: Set table name

2012-01-16 Thread Marcello Parra
I pass db to module... Works fine... But I was setting (in the model): dog = 'dog12345' So.. in the module I see db and not dog... To make it work, I should pass dog also As I have many associations in this project, this wold make it almost impossible to implement On Mon, Jan 16, 201

[web2py] Re: SOLVED Re: Inline image generation with matplotlib

2012-01-16 Thread Massimo Di Pierro
def image():     return myimage() myimage returns the binary data of the image. so calling image would be the same as calling myimage. The former never calls the view. Massimo On Jan 16, 5:44 am, andrej burja wrote: > this works > controller: > def image(): >     return dict(a=IMG(_src=URL('myi

Re: [web2py] Re: Inherit type from parent

2012-01-16 Thread Tsvi Mostovicz
Could be it works, but for populate it doesn't. I was hoping to generate a rule that would force populate to behave correctly. For the user I can obviously deal with it in AJAX. Is it possible that populate disregards the compute field? Tsvi Mostovicz ttm...@gmail.com www.linkedin.com/in/tsvim

Re: [web2py] Re: error class proposal

2012-01-16 Thread David
Sorry for not being clear; I meant if the field has an error obviously. After form validation, the ie. input would have an error class This would be useful for styling the fields with say "red borders" Alternatively if there is generic way to handle this I would appreciate it. Thanks. On 1

Re: [web2py] Re: error class proposal

2012-01-16 Thread Bruno Rocha
*include this in the page where you have the form* jQuery(function(){ jQuery(".error").prev().css({"border":"1px solid red"}); }); *There is a css way for doing this (but not all browsers support css siblings ~* .error~input, .error~select, .error~textarea { border: 1px solid red; }

[web2py] Re: priority of web2py CMS

2012-01-16 Thread Gour
On Mon, 16 Jan 2012 10:49:41 -0800 (PST) Ross Peoples wrote: > The goal with my CMS is that I could stick an executive in front of > it (someone who barely knows how to check their email), and allow > them to theme their site, lay it out they way they want, and add > content with a simple drag &

Re: [web2py] Re: error class proposal

2012-01-16 Thread Anthony
But still, would be easier if the input itself had an error class. On Monday, January 16, 2012 3:33:30 PM UTC-5, rochacbruno wrote: > > *include this in the page where you have the form* > > > jQuery(function(){ > jQuery(".error").prev().css({"border":"1px solid red"}); > }); > > > *There is

[web2py] Re: priority of web2py CMS

2012-01-16 Thread Ross Peoples
Not yet. Just a bunch of proof of concept ideas. I have to combine them into a workable solution, which will take some time. The good news is I've already figured out how to do it, I just have to put the work in.

Re: [web2py] Re: Inherit type from parent

2012-01-16 Thread Anthony
No, I don't think populate looks at the compute attribute -- it just looks at the field type and generates an appropriate value. On Monday, January 16, 2012 3:21:16 PM UTC-5, tsvim wrote: > > Could be it works, but for populate it doesn't. I was hoping to generate a > rule that would force popul

[web2py] Re: priority of web2py CMS

2012-01-16 Thread Gour
On Mon, 16 Jan 2012 12:41:32 -0800 (PST) Ross Peoples wrote: > Not yet. Just a bunch of proof of concept ideas. I have to combine > them into a workable solution, which will take some time. The good > news is I've already figured out how to do it, I just have to put the > work in. Good luck. ;)

Re: [web2py] Represent - redirect

2012-01-16 Thread Mathias Van Daele
Thanks for answer Johann. But how can I catch the value of args in the concerned function ? Thanks Op 16 januari 2012 13:15 schreef Johann Spies het volgende: > On 15 January 2012 22:49, Mathias Van Daele wrote: > >> Hello, >> >> I have a select crud, with a URL in the column id. >> >> If I c

[web2py] Re: error class proposal

2012-01-16 Thread Massimo Di Pierro
I understand. Let me think about this the problem is some some widgets do not have a single input fiels (think if lists and checkboxes). Please open a ticket in google code so we do not forget. On Jan 16, 2:25 pm, David wrote: > Sorry for not being clear; > > I meant if the field has an error

[web2py] Re: priority of web2py CMS

2012-01-16 Thread Massimo Di Pierro
One piece that every CMS needs and we could all benefit from is the following: a plugin to manage groups: - create groups - apply for membership - add memberships to owned(created) groups - approve members of owned(created) groups - revoke membership etc. I could use it right away. On Jan 16, 3:

[web2py] Many-to-many relations with CRUD Insert

2012-01-16 Thread Christian Winterhager
One of the standard examples of many-to-many Relations is a library. For simplicity i choose only 3 Tables: db.define_table ('author', Field ('name', 'string', length=100)) db.define_table ('verb', Field ('bnr', db.book ), Field ('anr', db.author ), ) db.define_table ('book',

[web2py] how to implement a custom checkboxes widget?

2012-01-16 Thread ofr
Hi there, I would like to implement a custom checkboxes widget where I can control the rendering in the template similar to the other custom form widgets. In the controller I would like to define the checkboxes widget as usual with an array of choices like: choices = [(1, 'first'), (2, 'second

[web2py] SQLFORM.grid links

2012-01-16 Thread Miguel
Hello, I have defined two tables related between each other, I have defined a SQLFORM.grid with this two tables and works ok, but when I try to add a new button with the id parameter it fails, but when I use other field like name works correctly. db.define_table('course', Field('name','strin

[web2py] Welcome app and i18n

2012-01-16 Thread Otto Domínguez
I have understood that the Welcome app is a template for new apps. I changed the About of the Welcome app and when making a new app I get this modified About page. But not so with language files. On the Welcome app I created a new spanish file for my country (Guatemala) named es-gt.py. It does

[web2py] SQLFORM.grid order

2012-01-16 Thread Miguel
Hello, I have a question about SQLFORM.grid order of the fields in the table represented? Is there any way to modify the order of these fields in a SQLFORM.grid? Thanks Miguel

[web2py] I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
Hi, Some people are little confused with the list widget that we have in web2py, some enters values separated by comma when it needs to press I would like to have an html widget which shows + and - buttons next to each item, and can watch for ',' so when user press ',' it wraps and automatically

Re: [web2py] Welcome app and i18n

2012-01-16 Thread Bruno Rocha
You have to pack your customized welcome and place the welcome.w2p in web2py/welcome.w2p On Mon, Jan 16, 2012 at 7:03 PM, Otto Domínguez wrote: > I have understood that the Welcome app is a template for new apps. I > changed the About of the Welcome app and when making a new app I get this > modi

Re: [web2py] Represent - redirect

2012-01-16 Thread Anthony
On Monday, January 16, 2012 4:47:01 PM UTC-5, Mathias Van Daele wrote: > > Thanks for answer Johann. > > But how can I catch the value of args in the concerned function ? > args from the URL are always in request.args, so in the edit_akb_country() function, the id would be in request.args(0). Se

[web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
Something like that http://www.diigo.com/item/image/121xl/oahk would be great for list widget -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
I found the resource http://webspirited.com/tagit/?page=tagit just need to know if it already exists for web2py, so I will not start to develop, else I will start tomorrow. -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Re: Welcome app and i18n

2012-01-16 Thread Anthony
New apps are created from the welcome.w2p file in the /web2py folder, not by directly copying the /web2py/applications/welcome folder. If you want new apps to be based on your modified welcome app, pack the modified app and replace the existing /web2py/welcome.w2p file with it. Anthony On Mond

[web2py] Re: Welcome app and i18n

2012-01-16 Thread Otto Domínguez
Thank you Bruno and Anthony. It does work and you have made the world a happier place (at least for me). On Jan 16, 5:55 pm, Anthony wrote: > New apps are created from the welcome.w2p file in the /web2py folder, not > by directly copying the /web2py/applications/welcome folder. If you want > new

Re: [web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Javier Quarite
On Mon, Jan 16, 2012 at 6:51 PM, Bruno Rocha wrote: > I found the resource http://webspirited.com/tagit/?page=tagit just need > to know if it already exists for web2py, so I will not start to develop, > else I will start tomorrow. > > -- > > Bruno Rocha > [http://rochacbruno.com.br] > > Thanks fo

[web2py] Re: Output from some controller

2012-01-16 Thread blackshirt
Yes, like you say... i have modified the controller code become like this : def run_command(self, *args): p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) return p.communicate() def update(): output, error = run_command('/bin/sh','apt-get','update', '-V')

[web2py] Re: ValueError: invalid literal for int() with base 10

2012-01-16 Thread howesc
or perhaps changed a datetime to a date?

[web2py] Re: How is the best way to export/import auth_user database?

2012-01-16 Thread howesc
there are 2 options: - use GAE datastore admin to copy data from application A to application B. select only the auth tables, press a button, take a nap, and when you awaken it will be done. - use the GAE bulkloader to do the work. you then have to write the transforms and preserving IDs is

[web2py] Re: 3-table many-to-many with IS_IN_DB

2012-01-16 Thread howesc
i do this for admins of one of my sites: (note that i have customizations to my auth_user table so this is not a drop-in method for your site). @auth.requires_membership('admin') def auth_user(): users_form=None retval = dict(aahome=A("Forms Home", _href=URL(r=request, f='index'))) r

[web2py] Re: Question about many to many forms

2012-01-16 Thread howesc
it's code therefore it is possible. i think you'll have to create a set of custom forms and custom form handlers to deal with all the interdependency, but given enough time to work on it you can make it work. my first question though is: what will the user interface be such that it is intuitiv

[web2py] using PAM to authenticate and verify user

2012-01-16 Thread blackshirt
i have a simply question about using PAM on linux to authenticate user. let's me explain my code. we have a simple controller like this def update(): cache = apt.Cache() progress = apt.progress.TextFetchProgress() res = cache.update(progress) redirect(URL(r=request, c='statistic', f='

[web2py] get user id on mobile app after login to web2py

2012-01-16 Thread Yuval
I need the web2py user id on an android mobile application. The user will use a web page (WebView) to perform the login (or to register). Once logged in, what is the best suggested way to pass back the user id to the container application (browser)? Thanks, Yuval

[web2py] There is no web2py homebrew for OS X

2012-01-16 Thread Jemes Hsu
Homebrew (Homebrew — MacPorts driving you to drink? Try Homebrew!) i

Re: [web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
The web2py widget for it is almost done! I just need to solve one issue: form.errors: request.vars: I dont know why, but form is not receiving the same args as request, or form is not validating its type for a list:string field. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] get user id on mobile app after login to web2py

2012-01-16 Thread Bruno Rocha
the user id is in session.auth.user.id once usre logged in. On Mon, Jan 16, 2012 at 10:50 PM, Yuval wrote: > I need the web2py user id on an android mobile application. > > The user will use a web page (WebView) to perform the login (or to > register). > > Once logged in, what is the best sugges

[web2py] Re: get user id on mobile app after login to web2py

2012-01-16 Thread Yuval
This is on the server side, I looked for the better way to get it over from the server to the mobile application/ client side. I will just set the user id in a cookie and I will pick up from the cookie on the mobile application side. Thanks Yuval On Jan 16, 4:50 pm, Yuval wrote: > I need the web

Re: [web2py] Re: get user id on mobile app after login to web2py

2012-01-16 Thread Bruno Rocha
You can redirect the user after login to a new url and post user ID as args or vars, so in client side I think you can take it from location. Or you can set a with the value and read it with jquery, or the cookie. On Tue, Jan 17, 2012 at 2:07 AM, Yuval wrote: > This is on the server side, I loo

Re: [web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
Thats working! http://www.diigo.com/item/image/121xl/vnwt -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] read pdf file and display

2012-01-16 Thread kasun perera
hi everyone, I want to read a uploaded pdf file and display its content in the webpage with the other fields that data need to be inserted. Can anyone point me how to do this. db.define_table('Phrase', Field('DocumentId', db.Document,label=T("Document Id")), Field('PhraseContent', 'text

[web2py] Proposal for SQLFORM.grid

2012-01-16 Thread Martin Weissenboeck
Hi! grid generats SQLFORMs for 'new', 'view' and 'edit'. But only the first propagates the parameter formstyle from the constructor: Line 1550 ('new'): create_form = SQLFORM( table, ignore_rw = ignore_rw, formstyle = formstyle, There is no formstile in line 1566 ('vie

Re: [web2py] SQLFORM.grid order

2012-01-16 Thread Johann Spies
On 16 January 2012 23:03, Miguel wrote: > Hello, > > I have a question about SQLFORM.grid order of the fields in the table > represented? > > Is there any way to modify the order of these fields in a > SQLFORM.grid? > > The initial order can be determined in orderby = . The displayed grid's orde

Re: [web2py] Many-to-many relations with CRUD Insert

2012-01-16 Thread Johann Spies
On 16 January 2012 22:35, Christian Winterhager < christian.winterha...@onlinehome.de> wrote: > One of the standard examples of many-to-many Relations is a library. For > simplicity i choose only 3 Tables: > > db.define_table ('author', > Field ('name', 'string', length=100)) > > db.define_ta

[web2py] Re: There is no web2py homebrew for OS X

2012-01-16 Thread pbreit
Might not be a bad idea but it's way better to install Web2py from source. Then you have excellent version control.

Re: [web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
After hours hacking Jquery plugin I have a good and working web2py tag-widget. http://www.diigo.com/item/image/121xl/3snt The code is in github -- Bruno Rocha [http://rochacbruno.com.br]