Re: [web2py] Re: Here's a theory question

2010-03-31 Thread Timothy Farrell
Yah that's basically what I said. =) On 3/30/2010 4:46 PM, Thadeus Burgess wrote: If you are with me so far, then Thadeus's question sounds like where do I put the client-code, to keep it MVC-like in organization, to help me keep my sanity during development and revision You hit the

[web2py] Bug on AppEngine - request.env.request_uri returns None

2010-03-31 Thread Jon Romero
It seems like it's not working on AppEngine -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more

[web2py] Re: Unable to populate custom auth_user column

2010-03-31 Thread mdipierro
This should do it def access_key_gen(form): import hashlib print 'called in access_key_gen' form.vars.access_key = hashlib.md5(form.vars.email).hexdigest() auth.settings.register_onaccept=access_key_gen OR in one line t.auth_user.access_key.compute=lambda r:

[web2py] language file problem

2010-03-31 Thread hamdy.a.farag
Hi I'm having a problem that was repeated too much sometimes the translation file , got messy while updating it with new translations translations are shifted from their proper place and thus you got un proper translations This also may have some side effects like making the whole application

[web2py] best jquery plugin ever

2010-03-31 Thread mdipierro
http://plugins.jquery.com/project/crash -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more

[web2py] session secure

2010-03-31 Thread Thadeus Burgess
Odd, we don't have a session.is_secure() -Thadeus -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com.

[web2py] Re: Cache - how to prevent session object to be cached?

2010-03-31 Thread David Zejda
I played with the cache more. If I pass current session to the object loaded from cache, it works OK, I mean the times returned are equal: class Blah: def sessiontime(self, session): globals()['session'] = session return session.ctime def cache_test(): import time

[web2py] Re: best jquery plugin ever

2010-03-31 Thread blackthorne
Ok, I'm surprised how it didn't got banned... fun indeed On Mar 31, 5:56 pm, mdipierro mdipie...@cs.depaul.edu wrote: http://plugins.jquery.com/project/crash -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

[web2py] Re: session secure

2010-03-31 Thread mdipierro
What would it do? Massimo On Mar 31, 12:11 pm, Thadeus Burgess thade...@thadeusb.com wrote: Odd, we don't have a session.is_secure() -Thadeus -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

Re: [web2py] Re: session secure

2010-03-31 Thread Thadeus Burgess
return self._secure -Thadeus On Wed, Mar 31, 2010 at 12:27 PM, mdipierro mdipie...@cs.depaul.edu wrote: What would it do? Massimo On Mar 31, 12:11 pm, Thadeus Burgess thade...@thadeusb.com wrote: Odd, we don't have a session.is_secure() -Thadeus -- You received this message

Re: [web2py] Re: googling web2py

2010-03-31 Thread Albert Abril
Why in Australia there's so much results compared with the average 11 results. (PD: 11 from Spain) On Mon, Mar 29, 2010 at 1:51 PM, Christopher Steel chris.st...@gmail.comwrote: Canada with various language settings: Google Site : http://www.google.ca/ Language: fr-ca

[web2py] Re: web layouts

2010-03-31 Thread elegant_hippie
Thanks Massimo - I think i'm able to make the changes easily. One more issue - I think my css is running fine but the images associated with the css doesn't appear for some reason. What could I be doing wrong? Also, is there a more efficient way to upload static files rather than one at a time?

[web2py] Re: session secure

2010-03-31 Thread mdipierro
ok. we can add it. Massimo On Mar 31, 1:47 pm, Thadeus Burgess thade...@thadeusb.com wrote: return self._secure -Thadeus On Wed, Mar 31, 2010 at 12:27 PM, mdipierro mdipie...@cs.depaul.edu wrote: What would it do? Massimo On Mar 31, 12:11 pm, Thadeus Burgess thade...@thadeusb.com

[web2py] Re: googling web2py

2010-03-31 Thread mdipierro
Nobody knows. On Mar 31, 2:54 pm, Albert Abril albert.ab...@gmail.com wrote: Why in Australia there's so much results compared with the average 11 results. (PD: 11 from Spain) On Mon, Mar 29, 2010 at 1:51 PM, Christopher Steel chris.st...@gmail.comwrote: Canada with various

[web2py] Re: web layouts

2010-03-31 Thread elegant_hippie
Sorry for being kind of slow with this but are you telling me that I have the option to dump all my static images in a folder or are you referring to the Static Files in the edit page of the web2py application? Thank you. On Mar 31, 5:25 p m, mdipierro mdipie...@cs.depaul.edu wrote: You can just

[web2py] Re: web layouts

2010-03-31 Thread elegant_hippie
ignore my last post - got it : ). Thanks On Mar 31, 5:25 pm, mdipierro mdipie...@cs.depaul.edu wrote: You can just put the files in the folder web2py/applications/yourapp/ static about the images, make sure the images are in the right folder, relative to the path specified in the CSS.

[web2py] Re: best jquery plugin ever

2010-03-31 Thread Wiiboy
That's awesome. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group

[web2py] Logging SQL statements.

2010-03-31 Thread chris_g
Currently, my sql.log contains the DAL generated SQL statements that were used to generated the database schema. Is there a way to log all SQL statements that DAL generates? I am getting a SQL error after I customised my Auth tables for a legacy database, and I'd like to see exactly what SQL is

[web2py] Re: Logging SQL statements.

2010-03-31 Thread mdipierro
The problem is that sql statemenets can be large and logging them all would blow up the file. The last sql statement is in db._lastsql so you can do a try catch and print (or log) the value of that variable on error. On Mar 31, 7:34 pm, chris_g chrisgu...@gmail.com wrote: Currently, my

[web2py] Re: Ajax and Auth API

2010-03-31 Thread Yannick
Thanks Massimo for the note, I really appreciate your help... Now I have more control on the layout using your latest change thx... BUT there are few problems... the next doesn't seems to work I have to do this: 1) - auth.settings.register_next= URL(r=request,c='controller', f='index') to

[web2py] use of the modules directory?

2010-03-31 Thread Miguel
Hi What is the purpose of the modules directory? I did not find an explanation in the web2py book. Also what is the web2py way of having a set of utility functions used by several controllers? Put everything in a file and import it? where should the file live? thanks Miguel -- You received