[web2py] Re: request.post_vars

2010-07-19 Thread mdipierro
The code is being passed by the problem is here def persona(): form=crud.create(db.persona) form.vars.ficha=request.vars.ficha because the crud.create does accept inside therefore the form is processed before you set form.vars.ficha. You can do insetad: controller1: form=crud.create(db.

[web2py] request.post_vars

2010-07-19 Thread web2py noob
Hi! I'm trying to pass a variable between forms using just the post method but it still accepts the GET method. It's this possible? My code follows: controller1: form=crud.create(db.familia) if form.accepts(request.vars,session): redirect(URL(r=request,f='persona',vars=dict(ficha=request.

[web2py] Re: Looking for specific video Demo

2010-07-19 Thread mdipierro
The @service.json and @service.xml exist but you do not need them. For example if you have def example(): return dict(a=[1,2,3],b=['Hello','World']) you can cal this with http://.../example http://.../example.html http://.../example.load (html but no layout) http://.../exampl

[web2py] Re: cube2py news

2010-07-19 Thread mdipierro
In the page/meta-code you can do response.meta.keywords='.' response.meta.description='' etc. they will find their way into the header of the page automatically On Jul 19, 9:14 pm, rochacbruno wrote: > As a Brazilian I  agree with Julio, BTW I'm using the title field to > create a custo

[web2py] Re: datatable plugin columns representation

2010-07-19 Thread mdipierro
I have an error in my latest post. {{=plugin_wiki.widget('jqgrid',db.yourtable,colnames=[.])}} The jqGrid widget has a button in bottom-left corner that opens a popup search box. It is less user-friendly than datatable but allows more precise construction of search criteria and works via ajax

[web2py] Re: Error in wsgi/apache

2010-07-19 Thread Graham Dumpleton
On Jul 20, 1:58 pm, Michael Toomim wrote: > Thanks!  I tried rebooting the OS.  Now my resources seem ok (but I > didn't check before the reboot): > > Files used: 1376 out of 75556 > Mem used: 580mb out of 796mb > Swap used: 0 > CPU: 88-99% idle > > And I know longer see the "Exception occurred"

[web2py] Re: Error in wsgi/apache

2010-07-19 Thread Michael Toomim
Thanks! I tried rebooting the OS. Now my resources seem ok (but I didn't check before the reboot): Files used: 1376 out of 75556 Mem used: 580mb out of 796mb Swap used: 0 CPU: 88-99% idle And I know longer see the "Exception occurred" or "IOError" messages, however I DO still see "Premature end

[web2py] Re: Rocket cache response

2010-07-19 Thread Iceberg
On Jul 20, 1:11am, Jonathan Lundell wrote: > On Jul 19, 2010, at 10:05 AM, Timbo wrote: > > > It's defaulting to text/html since it's not actually sending a file. > > This is a section of the HTTP spec that I missed. > >http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.htmlsays that no > > entity

[web2py] Looking for specific video Demo

2010-07-19 Thread thedangler
Hello, I found a video once that showed how to do REST and returning a view as html or json or xml just by putting @json or @xml over the method. Also I was looking for the video where it shows you have to change the html by using a free html template taken from some template site. If anyone kno

[web2py] Re: Error in wsgi/apache

2010-07-19 Thread Graham Dumpleton
On Jul 20, 12:01 pm, Michael Toomim wrote: > I'm getting errors like these in my apache error logs: > > [Mon Jul 19 18:55:20 2010] [error] [client 65.35.93.74] Premature end > of script headers: wsgihandler.py, > referer:http://yuno.us/init/hits/hit?assignmentId=1A7KADKCHTB1IJS3Z5CR16OZM4V... >

[web2py] Re: Error in wsgi/apache

2010-07-19 Thread Michael Toomim
And after a while apache completely freezes. On Jul 19, 7:05 pm, Michael Toomim wrote: > This message about "bucket brigade" is also appearing in the apache > error log: > > [Mon Jul 19 19:01:53 2010] [error] [client 183.87.223.111] (9)Bad file > descriptor: mod_wsgi (pid=7940): Unable to get buc

[web2py] Re: cube2py news

2010-07-19 Thread rochacbruno
As a Brazilian I agree with Julio, BTW I'm using the title field to create a custom index. however it would be better if we had the option to include custom fields, that way we could delete the title field, and create how many custom fields as we need for a page. In my case, I am migrating my Bl

[web2py] Re: Error in wsgi/apache

2010-07-19 Thread Michael Toomim
This message about "bucket brigade" is also appearing in the apache error log: [Mon Jul 19 19:01:53 2010] [error] [client 183.87.223.111] (9)Bad file descriptor: mod_wsgi (pid=7940): Unable to get bucket brigade for request., referer: http://yuno.us/init/hits/hit?assignmentId=1WL68USPJR0HY1ENS50GN

[web2py] Error in wsgi/apache

2010-07-19 Thread Michael Toomim
I'm getting errors like these in my apache error logs: [Mon Jul 19 18:55:20 2010] [error] [client 65.35.93.74] Premature end of script headers: wsgihandler.py, referer: http://yuno.us/init/hits/hit?assignmentId=1A7KADKCHTB1IJS3Z5CR16OZM4VLSQ&hitId=1NAV09D0NWNU2X87QR3I6RXXG0ER8N&workerId=A37YC0D90

Re: [web2py] Re: cube2py news

2010-07-19 Thread Júlio Monteiro
Hello, In my opinion title should stay, specially for us Brazilians that use lots of accented letters on titles, and also it should be displayed by default as H1 on the top of the page, then it would have more meaning. Just my 2 cents, Julio Monteiro On Mon, Jul 19, 2010 at 6:32 PM, mdipierro w

Re: [web2py] Re: Rocket cache response

2010-07-19 Thread Jonathan Lundell
On Jul 19, 2010, at 4:28 PM, Timbo wrote: > Whoa back up. Rocket doesn't set the content-type at all, web2py > takes care of that (streamer.py, line 63). Actually, Rocket will send > on whatever headers it gets, I think Cherrypy was a little more > selective, which may be one reason the Rocket

[web2py] Re: Rocket cache response

2010-07-19 Thread Timbo
Whoa back up. Rocket doesn't set the content-type at all, web2py takes care of that (streamer.py, line 63). Actually, Rocket will send on whatever headers it gets, I think Cherrypy was a little more selective, which may be one reason the Rocket switch would let this show up. W.R.T. the slow req

[web2py] Re: datatable plugin columns representation

2010-07-19 Thread sarsar
Thanks a lot . Just for learning , i ve seen that other users have allready used this DATATABLE table solution , plus it has a very wonderfull feature '''Search with a few letters''' . Does the new cube2py offers the same functionality ? Thanks again . Now i have to pass data from the form to pdf

[web2py] Re: cube2py news

2010-07-19 Thread mdipierro
I could remove the title. You have a point. Anybody opposed? On Jul 19, 3:36 pm, Chris S wrote: > I've been looking through cube2py and just can not figure out what the > "Title" field for a wiki_page is used for. > > The slug is used when: > -referencing a link > -generating the URL (match again

[web2py] Re: Why am I getting logged out automatically?

2010-07-19 Thread mdipierro
I do not understand this either. They are different cookies. On Jul 19, 3:14 pm, weheh wrote: > Aha! Found it! I'm using jQuery tabs and wanted to test out the > persistent tabs feature. That uses cookies. The expiration on the tabs > cookie somehow is wiping the web2py cookie with it. Doesn't se

[web2py] Re: cube2py news

2010-07-19 Thread Chris S
I've been looking through cube2py and just can not figure out what the "Title" field for a wiki_page is used for. The slug is used when: -referencing a link -generating the URL (match against slug) The title is used: -In the auto generated History page So why not just always refer to a page by

[web2py] Re: multiselect plugin not working with 1.80.1 and up

2010-07-19 Thread mr.freeze
Looking at your code, you are using the widget from here and not plugin_multiselect: http://www.web2pyslices.com/main/slices/take_slice/70 I will take a look at this. On Jul 19, 2:53 pm, mdipierro wrote: > I have not tried your yet. I have been using the muliselect in > plugin_wiki with 1.81.4 w

Re: [web2py] Re: multiselect plugin not working with 1.80.1 and up

2010-07-19 Thread Jean-Guy
Ok, I got it to work with plugin_wiki... Had a little hard time to figure out how to install the plugin... I look forward to testing jqgrid ;-) Jonhy On 2010-07-19 15:53, mdipierro wrote: I have not tried your yet. I have been using the muliselect in plugin_wiki with 1.81.4 without problems

[web2py] Re: Why am I getting logged out automatically?

2010-07-19 Thread weheh
Aha! Found it! I'm using jQuery tabs and wanted to test out the persistent tabs feature. That uses cookies. The expiration on the tabs cookie somehow is wiping the web2py cookie with it. Doesn't seem right to me ... why aren't they segregated? Anyway, that's what's going on. Try setting up a tabs

[web2py] Re: Why am I getting logged out automatically?

2010-07-19 Thread weheh
Thanks for the quick response, Massimo. I checked the cookie id and it's getting blasted away. Somehow, the session_id_myapp is changing. Don't know why as I don't know what I've done to change it. I am setting other session variables, but never touched the session_id_myapp variable. I'm running

Re: [web2py] Re: ajax widget - asynchronously updated

2010-07-19 Thread Tomas Pelka
Yes this is nice, but I thing this is better approach: in controler: def getResults(): . . return something in view: {{=LOAD('sniffer','getResults',ajax=True)}} Therefore this do not solve my problem :D Actually my previous idea (periodically update) was bad. Do web2py have capabilities to

[web2py] load_action information

2010-07-19 Thread JmiXIII
Hello , I'm trying to understand how load_action works in plugin_wiki. I thought I had to put something like : `` name: load_action action: index controller: grille ajax: True ``:widget Yet it renders a template of URL(a,c,f) over a first template... would have been so nice ... Is there any chanc

[web2py] Re: multiselect plugin not working with 1.80.1 and up

2010-07-19 Thread mdipierro
I have not tried your yet. I have been using the muliselect in plugin_wiki with 1.81.4 without problems. Massimo On Jul 19, 2:15 pm, Jean-Guy wrote: > You don't get the "value not in database" when you select more the one > element?? > > Here I can't submit here. > > I didn't follow to much the

Re: [web2py] Re: multiselect plugin not working with 1.80.1 and up

2010-07-19 Thread Jean-Guy
You don't get the "value not in database" when you select more the one element?? Here I can't submit here. I didn't follow to much the last weeks what is cube2py exactly. My understanding is that it is a demo app that emulate a wiki?? Jonhy On 2010-07-19 15:00, mdipierro wrote: I do not se

Re: [web2py] Re: ORA-01704: string literal too long

2010-07-19 Thread Simone Alessandri
Thanks a lot!!! After some trials i noticed that request.vars.upload is a stream connected to the file and i found out another solution. Tomorrow I'll try to do how you suggested, bye!! 2010/7/19 mdipierro > if you use > > form=SQLFORM(db.my_images) > > or > > form=crud.create(db_myimages,

[web2py] Re: css of welcome app not adapted for Chrome??

2010-07-19 Thread mdipierro
horrible. What is the bug? On Jul 19, 1:34 pm, "mr.freeze" wrote: > Hit refresh and it should pull the updated style sheets. > > On Jul 19, 1:32 pm, Jean-Guy wrote: > > > What I have with Chrome under Ubuntu : attached > > > Jonhy > > > On 2010-07-19 13:15, Jonathan Lundell wrote: > > > > On Jul

[web2py] Re: multiselect plugin not working with 1.80.1 and up

2010-07-19 Thread mdipierro
I do not see any obvious problem anyhow... if you installed plugin_wiki from cube2py you get all multiselect get automatically the plugin and this works out of the box. On Jul 19, 1:27 pm, Jean-Guy wrote: > I attach a app built with 1.81.4 that make the problem... > > default/dropbselect = load

[web2py] Re: datatable plugin columns representation

2010-07-19 Thread mdipierro
I strongly suggest you install plugin_wiki from cube2py and do {{=plugin_wiki.widget(db.yourtable,colnames=[.])}} It has much more funcitonality. Massimo On Jul 19, 1:14 pm, sarsar wrote: >      Hi >       I found inside brasilian web2py list that datatable plugin uses > SQLtable and there

Re: [web2py] Re: create native functions

2010-07-19 Thread Luis Díaz
thank you very much. 2010/7/19 rāma > Usually you create a function in the model so that it is available > throughout the view and and controllers. > > On Jul 20, 1:57 am, Luis Díaz wrote: > > how I can create your own functions, style MENU () or URL ()? > > > > I want to call them from any (co

Re: [web2py] Re: css of welcome app not adapted for Chrome??

2010-07-19 Thread Jean-Guy
:'( shameful Jonhy On 2010-07-19 14:34, mr.freeze wrote: ll the updated style sheets.

[web2py] Re: css of welcome app not adapted for Chrome??

2010-07-19 Thread mr.freeze
Hit refresh and it should pull the updated style sheets. On Jul 19, 1:32 pm, Jean-Guy wrote: > What I have with Chrome under Ubuntu : attached > > Jonhy > > On 2010-07-19 13:15, Jonathan Lundell wrote: > > > On Jul 19, 2010, at 9:45 AM, Jean-Guy wrote: > > >> I just install 1.81.4 and open the we

[web2py] Re: datatable plugin columns representation

2010-07-19 Thread sarsar
Hi I found inside brasilian web2py list that datatable plugin uses SQLtable and there is no labels for the fields . If it is true ( i mean if i have understanded corectly the google translation) then there is no possibility to do what i want . So the question changes and becomes . I

[web2py] Re: create native functions

2010-07-19 Thread rāma
Usually you create a function in the model so that it is available throughout the view and and controllers. On Jul 20, 1:57 am, Luis Díaz wrote: > how I can create your own functions, style MENU () or URL ()? > > I want to call them from any (controllers, view) without import > with local_import

[web2py] create native functions

2010-07-19 Thread Luis Díaz
how I can create your own functions, style MENU () or URL ()? I want to call them from any (controllers, view) without import with local_import as they like web2py native code -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo

[web2py] ORA-01704: string literal too long

2010-07-19 Thread Simone
Hi, I'm using web2py with Oracle 10 and I'm having a problem trying to upload a file: in db.py I have: db.define_table('my_images',Field('name','string'),Field('image', 'upload')) I have an html form whre the user chose wich file to upload. When the form is submitted i do the following: db.my_im

[web2py] Re: ORA-01704: string literal too long

2010-07-19 Thread mdipierro
if you use form=SQLFORM(db.my_images) or form=crud.create(db_myimages,formstyle='table3cols') You do not need the manual insert. If you choose the manual insert it should be db.my_images.insert(name=[some_name],image=db.my_images.upload.store(request.vars.upload.file,request.vars.uplo

[web2py] Re: Optional form field and its validation

2010-07-19 Thread rāma
Thank you for the blazing fast response. I didn't find that in the book hope its noted somewhere to be added later. Rāma On Jul 20, 1:33 am, mdipierro wrote: > IS_EMPTY_OR(IS_EMAIL()) > > On Jul 19, 12:23 pm, rāma wrote: > > > > > Hi, > > > How do I get the form to validate right. > > I want t

[web2py] crear un función estilo MENU

2010-07-19 Thread Luis Díaz
me gusta la idea de tener pestañas en mis diseños. y no quiero hacerlas todas a mano. entonces cree varios script que me facilitan el trabajo: en layout.html: {{ pestania = response.pestania}} {{if pestania:}} //-

[web2py] Re: Optional form field and its validation

2010-07-19 Thread mdipierro
IS_EMPTY_OR(IS_EMAIL()) On Jul 19, 12:23 pm, rāma wrote: > Hi, > > How do I get the form to validate right. > I want to validate an email field ONLY IF it is filled in. IS_EMAIL() > doesn't meet my requirement as it enforces validation simply by > submitting. > > IS_NOT_REQUIRED() validator? ;-)

[web2py] Re: Why am I getting logged out automatically?

2010-07-19 Thread mdipierro
Can you please check you cookie id? Does it change when you get logged out? I am wondering if there is problem with saving cookie. Which os? On Jul 19, 12:11 pm, weheh wrote: > jquery.cookie.js is not the culprit. I ripped it out of my code and > still have the auto-logout thing going. And in cas

[web2py] Optional form field and its validation

2010-07-19 Thread rāma
Hi, How do I get the form to validate right. I want to validate an email field ONLY IF it is filled in. IS_EMAIL() doesn't meet my requirement as it enforces validation simply by submitting. IS_NOT_REQUIRED() validator? ;-) Rāma

[web2py] Re: Tiny doubt about a phrase from book.

2010-07-19 Thread mdipierro
Just came back to Italy. Sorry I could not stay longer. On Jul 18, 11:02 pm, GoldenTiger wrote: > Ok,  errata then ? I've seen some things like that on the book,  where > can i inform of book erratas? code.google or book online? > > Max, are you still at EuroPython? > > On 18 jul, 13:10, mdipierr

[web2py] Re: multiselect plugin not working with 1.80.1 and up

2010-07-19 Thread mdipierro
I cannot reproduce the problem. Can you please post the model? On Jul 19, 11:40 am, Jean-Guy wrote: > Hello, > > I got "value not in database" helpers message when I select more then > one entry of the dropbox... The problem is coming from the web2py recent > update 1.80.1, 1.81.4. The same app w

[web2py] Re: Possible with SQLFORM or SQLFORM.factory

2010-07-19 Thread mdipierro
It would be great to have an app like pastebin for web2py models, possibily using some convention to allow cooperation, and organized by sector. On Jul 19, 1:51 am, Kenneth wrote: > Here is the model för tracker_person_product that tracks sellings, if > a person doesn´t have a entry in the tracke

Re: [web2py] css of welcome app not adapted for Chrome??

2010-07-19 Thread Jonathan Lundell
On Jul 19, 2010, at 9:45 AM, Jean-Guy wrote: > I just install 1.81.4 and open the welcome app with Google Chrome and the > layout is pretty weird... With Firefox no problem. What version is web2py.com running (and how does one find out?)? It looks OK to me with Firefox, Safari & Chrome (OS X).

[web2py] Re: Did web2py ever consider joining the Software Freedom Conservancy?

2010-07-19 Thread mdipierro
We have contacted them some time ago. They suggested we send an application. The communication channel was very slow anyway. On Jul 18, 3:09 pm, jelkner wrote: > Did web2py ever consider joining the Software Freedom Conservancy? > (http://conservancy.softwarefreedom.org/) > > I made a donation re

[web2py] Re: web2py 1.81.4 is OUT

2010-07-19 Thread mdipierro
On Jul 18, 2:21 pm, Chris S wrote: > Is there a better explanation of how RPX integrates with the native > web2py now that it's included in trunk?  I would very much like to > read a little more on how this works. > > For example: > *Can you use RPX in combination with local user registration? Mr

Re: [web2py] Re: Rocket cache response

2010-07-19 Thread Jonathan Lundell
On Jul 19, 2010, at 10:05 AM, Timbo wrote: > It's defaulting to text/html since it's not actually sending a file. > This is a section of the HTTP spec that I missed. > http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html says that no > entity headers (Content-* should be sent in a 304 instance)

[web2py] Re: Why am I getting logged out automatically?

2010-07-19 Thread weheh
jquery.cookie.js is not the culprit. I ripped it out of my code and still have the auto-logout thing going. And in case anyone wonders, auth.settings.expiration=86400 # 1 day.

[web2py] Re: download from trunk

2010-07-19 Thread mdipierro
This file: web2py.googlecode.com/hg/web2py_src.zip should not be there. I will remove it. On Jul 18, 10:49 am, dbb wrote: > Massimo: > > what is the difference between web2py.googlecode.com/hg/web2py_src.zip > and web2py.com/example/static/nightly/web2py_src.zip. Debebe > > On Jul 18, 9:29 am, md

[web2py] Why am I getting logged out automatically?

2010-07-19 Thread weheh
I implemented login and decorated my controller with @auth.requires_login() a long time ago and it's been working great. But I was mucking around in some of the controller's code, and all of a sudden, I'm not able to stay logged in any longer. I can login. I can access the controller one time. But

[web2py] Re: Rocket cache response

2010-07-19 Thread Timbo
It's defaulting to text/html since it's not actually sending a file. This is a section of the HTTP spec that I missed. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html says that no entity headers (Content-* should be sent in a 304 instance) I think I can have a patch by this evening. Howeve

[web2py] css of welcome app not adapted for Chrome??

2010-07-19 Thread Jean-Guy
Hello, I just install 1.81.4 and open the welcome app with Google Chrome and the layout is pretty weird... With Firefox no problem. Jonhy

[web2py] multiselect plugin not working with 1.80.1 and up

2010-07-19 Thread Jean-Guy
Hello, I got "value not in database" helpers message when I select more then one entry of the dropbox... The problem is coming from the web2py recent update 1.80.1, 1.81.4. The same app with 1.79.2 no problem (I package app from 1.80.1 and install it in 1.79.2). Here my function code : db.a

[web2py] Re: Customizing auth.login form to specify class or id other than default value

2010-07-19 Thread mr.freeze
Try this: form = auth() form.element(_name='username')['_onfocus'] = "if ( this.value == this.defaultValue ) this.value = '';" form.element(_name='username')['_onblur'] = "if ( this.value == '' ) this.value = this.defaultValue" On Jul 19, 3:50 am, Rohan wrote: > I want to customize auth.login for

[web2py] Re: How to handle jaywalking - parsing a comma-delimited value in field and do lookups (1,4,5,6...)

2010-07-19 Thread Snaky Love
Hi Thadeus, thank you very much for your answer once more. I am really *very* surprised to see that a University professor in Computer Science and Software Engineering does promote this kind of software design... Thadeus, would you like to send me a pointer to your "very long list of dislikes fo

[web2py] Rocket cache response

2010-07-19 Thread Jonathan Lundell
On Jul 18, 2010, at 4:10 PM, MikeEllis wrote: > Here's the Header info from the long fetch on base.css: > > Request URL:http://192.168.253.105:8000/init/static/base.css > Request Method:GET > Status Code:304 Not Modified > > Request Headers > Accept:text/css,*/*;q=0.1 > Cache-Control:max-age=0 >

[web2py] Re: datatable plugin columns representation

2010-07-19 Thread sarsar
Hi , i solved one of my problems , i changed texts inside the datatable js file and now i have most messages in my language . It is not correct procedure but it works for me . Normally i should have obtain a file and instruct the module to use it . More details at datatables' site "" INTERNATIONAL

Re: [web2py] Re: How to handle jaywalking - parsing a comma-delimited value in field and do lookups (1,4,5,6...)

2010-07-19 Thread Thadeus Burgess
> where does this kind of thing happen with web2py? Could you please > specify what exactly are you writing about here? Does this mean the > web2py database abstraction layer produces this kind of hackery > instead of intersection tables on a many-2-many relation? Consider the following schema. d

[web2py] Re: How to handle jaywalking - parsing a comma-delimited value in field and do lookups (1,4,5,6...)

2010-07-19 Thread Snaky Love
Hi Thadeus, I do not understand what you mean with > Web2py is actually guilty of performing this same operation, however instead > of commas, we use the pipe char '|' where does this kind of thing happen with web2py? Could you please specify what exactly are you writing about here? Does this me

[web2py] datatable plugin columns representation

2010-07-19 Thread sarsar
Hi , I am looking at the http://www.datatables.net/usage/columns documentation and i dont understand how i can pass some options to my case . Mostly i am interested for sTitle and for Internationalisation of the header elements . I want to display my titles and translated in my language . Is it po

Re: [web2py] How to handle jaywalking - parsing a comma-delimited value in field and do lookups (1,4,5,6...)

2010-07-19 Thread Thadeus Burgess
Web2py is actually guilty of performing this same operation, however instead of commas, we use the pipe char '|' The theory works like this If you have the following |1|23|4|55|15| You can perform the following query to find the record with group id of 55 db(db.groups.like("%|55|%")).select()

[web2py] How to handle jaywalking - parsing a comma-delimited value in field and do lookups (1,4,5,6...)

2010-07-19 Thread Snaky Love
I have an "interesting" problem here - in a given mysql database scheme some sql wizard used comma-separated values in a text-field and with that values lookups have to be done. The data itself is simple numbers like 1,34,25,66,78,134 and so on. So what I have is something like this: id | username

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-19 Thread Thadeus Burgess
Now the question is "why?" I don't see how it can just be the generation of the form, I am willing to bet it is the session and CSRF tokens. If someone has time, we need to test a couple of scenarios. A) display a simple FORM B) display a simple FORM, but do NOT include a form.accepts in the con

[web2py] Customizing auth.login form to specify class or id other than default value

2010-07-19 Thread Rohan
I want to customize auth.login form and create an input field for username/email like using widget customizations {{=form.custom.widget.email}}, I get input field like is there any way to customizing auth.login form to generate the desired form as specified above? I tried us

[web2py] Re: web2py performance issue or rather my fault?

2010-07-19 Thread David Marko
One can even user examples hosted on web2py.com with same results as I tested on my local machines. simple temple rendering - no failed requests ## c:\apache\bin>ab -n 100 -c 5 http://web2py.com/examples/template_examples/test_def This is ApacheBench, Version 2.3 <$Revision: 65

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-19 Thread Thadeus Burgess
I am taking http://techspot.zzzeek.org/?p=17 and making a benchmark_dal.py and testing the results vs sqlalchemy. So far it looks promising, the DAL seems to be much more efficient than SQLAlchemy, and brick tons faster too. This is good news for me, as it proves that the DAL is valuable... if on