Re: [web2py] Get the IP of the System

2012-02-29 Thread Sanjeet Kumar
Thanks Anthony i solved it by taking the IP by using the request.env.remote_addr remote address will be there but by using the list i get it properly On Wed, Feb 29, 2012 at 9:19 AM, Anthony abasta...@gmail.com wrote: I've seen recommendations to check request.env.http_client_ip,

[web2py] db.Table in appadmin when used in a module

2012-02-29 Thread Johann Spies
I have this in a model. It is included in many tables. akb_signature = db.Table(db, 'akb_signature', Field('created_on', 'datetime', default = request.now, readable = False, writable = False), Field('created_by', db.auth_user,

Re: [web2py] web2py 1.99.5 (please read)

2012-02-29 Thread Bruno Rocha
is the experimental model map included? or it is not done yet? http://zerp.ly/rochacbruno Em 28/02/2012 17:28, Massimo Di Pierro massimo.dipie...@gmail.com escreveu: I am planning to release this tomorrow but you can test it today. ***Please help us test it today*** It is really important.

Re: [web2py] db.Table in appadmin when used in a module

2012-02-29 Thread Bruno Rocha
where the akb_signature_uuid is defined? in a model or module from gluon import current current.akb_signature_uuid = akb_signature_uuid = something then in appadmin from gluon import current does not works¿ http://zerp.ly/rochacbruno Em 29/02/2012 06:26, Johann Spies johann.sp...@gmail.com

[web2py] Re: After LDAP authentication, where can I change some actions?

2012-02-29 Thread szimszon
I'm also interested in that question :-o 2011. október 30., vasárnap 2:19:20 UTC+2 időpontban Tito Garrido a következőt írta: Hi Folks! I could see that ldap authentication is located on: /web2py/gluon/contrib/login_methods but after the login I need to insert the user on some ldap groups

[web2py] Strange grid behaviour

2012-02-29 Thread Johann Spies
The same table, the same SQLFORM.grid. Just a different query using the query option in the grid: When searching in the field 'title' the grid produces shows the result and clicking on export produces a result. The same url in both cases: *

Re: [web2py] db.Table in appadmin when used in a module

2012-02-29 Thread Johann Spies
On 29 February 2012 12:05, Bruno Rocha rochacbr...@gmail.com wrote: where the akb_signature_uuid is defined? in a model or module model from gluon import current current.akb_signature_uuid = akb_signature_uuid = something In the model I have from gluon import current current.db = db

[web2py] Re: Strange grid behaviour

2012-02-29 Thread Johann Spies
Just a little bit of further information: 'title' has the type 'text' and 'keywords' the type 'string' in the table definition. I cannot think however that that difference can play a role the strange problem described in the prevous message. Regards Johann -- Because experiencing your loyal

[web2py] Re: In plugin_wiki meta-code tables i cannot upload data :(

2012-02-29 Thread smogzer
Guys, could any of you at least try uploading stuff to a plugin-wiki meta-code created database. Just to tell me that it's just my configuration that's broken ( i tried firefox and chromium linux ) or it's the plugin. On Mon, Feb 27, 2012 at 12:20 AM, smogzer smog...@gmail.com wrote: I'm trying

[web2py] smartgrid query on 2 or more tables

2012-02-29 Thread Roderick
Hi web2py users! 1. Can anyone tell me if the query input field on SQLform smartgrid forms can do a join on 2 or more tables? 2. If so, how do I construct such a query? My attempts my failed and can't find docs on this either... Note - I would like users to be able to construct and type in their

[web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Alan Etkin
Massimo: I've found that the timing changes to the LOAD() helper have learnt the first lesson of not being seen. The problem is that the changes to web2py.js I submitted in the issue 576 were not updated in the welcome.w2p and it is not reflected in new applications. The new web2py.js file is

[web2py] Re: Grid examples

2012-02-29 Thread Rahul
FYI, the slice is updated for a few more things now. Thanks Rahul D On Feb 29, 3:06 am, greenpoise danel.sega...@gmail.com wrote: Got it, typo on my part..thanks Bruce d On Feb 28, 12:49 pm, Bruce Wade bruce.w...@gmail.com wrote: Need to see some code before anyone can help On

Re: [web2py] Re: cron setup

2012-02-29 Thread Sanjeet Kumar
I have the following code in my crontab :- 0-59/1****root **applications/welcome/cron/test.py and the following code in my test.py which are inside the cron folder in my application :- db.person.insert(name=Alex) and i want to insert this into the table person which are

[web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread weheh
+1 On Feb 29, 4:35 am, Anthony abasta...@gmail.com wrote: We need to make the book editable again so some of us can start adding this stuff to the documentation. :-) On Tuesday, February 28, 2012 3:28:09 PM UTC-5, Massimo Di Pierro wrote: I am planning to release this tomorrow but

Re: [web2py] smartgrid query on 2 or more tables

2012-02-29 Thread Johann Spies
On 29 February 2012 13:35, Roderick roderick.m...@gmail.com wrote: Hi web2py users! 1. Can anyone tell me if the query input field on SQLform smartgrid forms can do a join on 2 or more tables? If you use SQLFORM.grid the answer is 'Yes' 2. If so, how do I construct such a query? My

Re: [web2py] smartgrid query on 2 or more tables

2012-02-29 Thread Johann Spies
Apololgies, Gmail's web interface and I am not always friends. The above message was sent before I have finished it. Users can also build dynamic query (as long as all the tables are presented in the original query) using the search function (query-button) that comes with the grid. My

Re: [web2py] Re: cron setup

2012-02-29 Thread Luciano Pacheco
On Wed, Feb 29, 2012 at 11:10 PM, Sanjeet Kumar sanjeet@gmail.comwrote: I have the following code in my crontab :- 0-59/1****root **applications/welcome/cron/test.py put just 1 * before applications/ [], -- Luciano Pacheco blog.lucmult.com.br

[web2py] Anyone using Dreamhost?

2012-02-29 Thread Cliff
Can you share your experience? Thanks, Cliff Kachinske

Re: [web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Bruno Rocha
no, I mean the model-execution-mapping. http://zerp.ly/rochacbruno Em 29/02/2012 09:03, Alan Etkin spame...@gmail.com escreveu: Massimo: I've found that the timing changes to the LOAD() helper have learnt the first lesson of not being seen. The problem is that the changes to web2py.js I

[web2py] Re: image upload not being deleted - 2 questions, 1 possible bug

2012-02-29 Thread Anthony
Question 2: How do I selectively delete the image field without deleting the entire test record? In other words, I want to delete the image file and null-out the image field, but leave the rest of the test record intact. I suppose you would have to explicitly delete the file. This is

Re: [web2py] db.Table in appadmin when used in a module

2012-02-29 Thread Bruce Wade
Is there any reason you have a extra comma in the __init__ method? def __init__(self, db*,*): On Wed, Feb 29, 2012 at 3:14 AM, Johann Spies johann.sp...@gmail.comwrote: On 29 February 2012 12:05, Bruno Rocha rochacbr...@gmail.com wrote: where the akb_signature_uuid is defined? in a model or

Re: [web2py] Anyone using Dreamhost?

2012-02-29 Thread Bruce Wade
I used them a very long time ago, but moved to hostmonster because they have better prices and service. On Wed, Feb 29, 2012 at 5:55 AM, Cliff cjk...@gmail.com wrote: Can you share your experience? Thanks, Cliff Kachinske -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread Anthony
Grrr. Sorry to go around in circles on this. I traced my code some more and, yes, there was a bug. But I fixed it and yet the upload file is not being deleted. As improbable as it seems that this would be a bug in web2py, my Question #1 above remains open. Using the latest trunk, I

[web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Massimo Di Pierro
No. It is pending this release. On Feb 29, 3:56 am, Bruno Rocha rochacbr...@gmail.com wrote: is the experimental model map included? or it is not done yet? http://zerp.ly/rochacbruno Em 28/02/2012 17:28, Massimo Di Pierro massimo.dipie...@gmail.com escreveu: I am planning to release

[web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Massimo Di Pierro
No. But I believe Tim knows what the problem is and is working on it. On Feb 29, 1:33 am, Phyo Arkar phyo.arkarl...@gmail.com wrote: Is the corruption of download and upload during slow connection fixed (Rocket problem) ? Thanks Phyo. On 2/29/12, Mariano Reingart reing...@gmail.com wrote:

[web2py] Re: smartgrid query on 2 or more tables

2012-02-29 Thread Roderick
Thanks Johann! 1. Can this be done with smartgrid? 2. Can you give me an example of a dynamic query (e.g. what users would type into the search field)? (for grid or smartgrid). Thanks! On Feb 29, 2:44 pm, Johann Spies johann.sp...@gmail.com wrote: Apololgies, Gmail's web interface and I am not

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread Massimo Di Pierro
Please open a ticket, this may be a bug. On Feb 29, 8:37 am, Anthony abasta...@gmail.com wrote: Grrr. Sorry to go around in circles on this. I traced my code some more and, yes, there was a bug. But I fixed it and yet the upload file is not being deleted. As improbable as it seems that this

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread Anthony
To be clear, I *cannot *reproduce this problem. weheh, when you delete a record, does it properly delete the file associated with the 'name' field but fail to delete the file associated with the 'image' field, or are both files being left behind? I notice the 'name' field uploads to 'static',

[web2py] Re: Thumbnails

2012-02-29 Thread peter
If you visit http://github.com/hutchi0/web2py-for-fluxflex and look at the gallery application it builds thumbnails automatically Peter On Feb 28, 9:14 pm, Bruno Rocha rochacbr...@gmail.com wrote: I do it using the compute attribute, take a

Re: [web2py] Re: Admin Disabled

2012-02-29 Thread Bruce Wade
Thanks that worked. My web2py process is starting with my logged in user. I did this to prevent having to su all the time, and I can do git pull and changes from a single user account. Anyway with my setup you don't need: sudo -u user_name instead you just run: python -c from gluon.widget

[web2py] important - need help with file locking

2012-02-29 Thread Massimo Di Pierro
I believe we have a problem with file locking. I managed to isolate the problem in this non-web2py pure-python program: begin file test.py == import fcntl import multiprocessing import unittest N=1 def lock(fp, mode): fcntl.flock(fp.fileno(), mode) def unlock(fp):

[web2py] Re: important - need help with file locking

2012-02-29 Thread Massimo Di Pierro
Found the problem with some help from a friend in the Chicago Python users group. One problem is flushing before unlocking the file. Another is that opening the file for writing truncates the file before the exclusive lock is acquired. On Feb 29, 11:46 am, Massimo Di Pierro

[web2py] Re: Possible bug with a referenced field?

2012-02-29 Thread tsvim
Hi, I attached a file with code that reproduces the problem. For this example I expect to only return options African and Swallow, not John and not Doe. I traced the problem back to the call from sqlhtml.py on line 217 to the IS_IN_DB validators function options(). I'm not sure if the fix

Re: [web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Richard Vézina
Here some more information on the ticket it raises : (self=gluon.dal.PostgreSQLAdapter object, value=1, field_type='db.auth_user', blob_decode=True) Code listing 1498. 1499. 1500. 1501. 1502. 1503. 1504. 1505. 1506. 1507. return value elif field_type == 'blob' and not

Re: [web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Richard Vézina
Forget to mention. I also try the welcome app with postgres with no problem. I create a use and can logon and logoff... Richard 2012/2/29 Richard Vézina ml.richard.vez...@gmail.com Here some more information on the ticket it raises : (self=gluon.dal.PostgreSQLAdapter object, value=1,

[web2py] Re: Database deadlocks with new scheduler

2012-02-29 Thread David Phillips
Thanks for the advice, Massimo. Yes, I am calling db.scheduler_task.insert() inside a controller. On the theory that it could do harm, I put a db.commit() immediately after the insert and that helped, some. Now I'm getting the scheduler exception in my worker process about a third as often, and

[web2py] windows users? need help with a test...

2012-02-29 Thread Massimo Di Pierro
Download the latest nightly build (just posted). Open welcome, edit a language file and save it. Does it work fine?

[web2py] Re: windows users? need help with a test...

2012-02-29 Thread Carlos
Hi Massimo, Do you mean go to the following url and click update? http://localhost:8000/admin/default/edit_language/welcome/languages/es-es.py It saved without problems. Carlos On Wednesday, February 29, 2012 1:48:27 PM UTC-6, Massimo Di Pierro wrote: Download the latest nightly build

[web2py] Re: windows users? need help with a test...

2012-02-29 Thread Anthony
If you're asking whether admin successfully saves changes to a language file on Windows, it seems to be working for me using the latest trunk. Anthony On Wednesday, February 29, 2012 3:25:17 PM UTC-5, Carlos wrote: Hi Massimo, Do you mean go to the following url and click update?

Re: [web2py] Computed field not working

2012-02-29 Thread Richard Vézina
You can't access valor_do_dolar from custo_em_real lambda computed since it is a computed field that get computed un submit... If you want to do that you will have to make a real function that get process on submit with form.process().accepted and the argument onsuccess or onvalidation See

Re: [web2py] Computed field not working

2012-02-29 Thread Tito Garrido
Nice Catch, but I have commented the last field to apply what you suggested and this also doesn't work: db.define_table('compra_produto', Field('compra', 'reference compra'), Field('produto','reference produto'), Field('quantidade','integer'), Field('custo_em_dolar','double'),

Re: [web2py] Computed field not working

2012-02-29 Thread Richard Vézina
You valor_do_dolar field is still a problem in the model down here... Since you can't or your lambda can't accès valor_do_dolar in that example. The field don't exist in the form so the key not exist so web2py return none and custo_em_dolar*none will return none I guest. try this :

[web2py] web2py Leaflet.js and firefox won't render map tiles

2012-02-29 Thread ender
Leaflet http://leaflet.cloudmade.com, a javascript library for embedding maps, has a mysterious problem that only crops up when you host a page using leaflet on web2py and try to view it in firefox. Specifically, map tiles fail to be loaded. As far as I can tell, leaflet is working as it

[web2py] Re: windows users? need help with a test...

2012-02-29 Thread Massimo Di Pierro
Great. This is what I needed to know as a the language load/dave functions were rewritten to avoid the concurrency problem. They use a trick to open the file in append mode and then seek(0) and truncate() instead of opening the file in write mode. I knew it works on Mac and Linux but I was not

Re: [web2py] Computed field not working

2012-02-29 Thread Tito Garrido
Thanks a lot Richard! you were right! I have put the wrong field on the calculation! You are the best! Thank you! On Wed, Feb 29, 2012 at 6:25 PM, Richard Vézina ml.richard.vez...@gmail.com wrote: You valor_do_dolar field is still a problem in the model down here... Since you can't or your

[web2py] Re: problems refreshing component from link in svg image

2012-02-29 Thread monotasker
Hi Anthony, Sorry for the delayed response. Adding window.parent did the trick. Thanks. Ian On Wednesday, February 22, 2012 8:38:14 PM UTC-5, Anthony wrote: Maybe try: top.web2py_component(/paideia/exploring/index.load,page) or

[web2py] Inheritance and composition of views

2012-02-29 Thread Pedro Pereira
Hi all, Is it possible to include in a view, an inherited one? The docs aren't clear about this issue, so I don't know if the framework is supposed to allow this behaviour. I managed to make a simple example of what I'm trying to achieve: file 1: default/mytest.html (the view returned by the

[web2py] Re: Inheritance and composition of views

2012-02-29 Thread Massimo Di Pierro
Short answer no. Think of the page hierarchy as a tree. {{extend ...}} points up to a parent. {{include ...}} points down to a child. When your controller returns it calls a view and this one can move up (extend) and down (import) the tree. If you want to import X which extends Y before being

Re: [web2py] Re: Inheritance and composition of views

2012-02-29 Thread Pedro Pereira
Understoodthanks a lot!! On Wed, Feb 29, 2012 at 22:18, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Short answer no. Think of the page hierarchy as a tree. {{extend ...}} points up to a parent. {{include ...}} points down to a child. When your controller returns it calls a view

Re: [web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Michele Comitini
I am not able to access to appadmin when I click the button database administration of any application in the admin application. mic Il giorno 29 febbraio 2012 20:31, Richard Vézina ml.richard.vez...@gmail.com ha scritto: Forget to mention. I also try the welcome app with postgres with no

[web2py] Re: Multiple auth - Good practice?

2012-02-29 Thread greenpoise
Ok, thanks. So I have an idea involving groups. I edited my auth_user table, I did that with no problem but I cant seem to link it to another table so I get a drop down in one of the fields: Here is my model (notice IS_IN_DB): ##Aditional table to support auth_user db.define_table('department',

[web2py] Getting user timezone

2012-02-29 Thread Yarin
Does web2py have any built-in mechanism for establishing the timezone of a user?

Re: [web2py] Thumbnails

2012-02-29 Thread pbreit
I like the module approach. I just put the function in my model file like this: db.item.image_thumb.compute = lambda r: resize_image(r['image'], (150,130), 'thumb') db.item.image_display.compute = lambda r: resize_image(r['image'], (320,320), 'display') def resize_image(image, size, path,

Re: [web2py] Thumbnails

2012-02-29 Thread pbreit
Oops, make sure to import PIL: from PIL import Image

Re: [web2py] Re: Inheritance and composition of views

2012-02-29 Thread Bruno Rocha
Dont know if it helps, but note that you can enclose HTML as a function. views/my_html_functions.html {{def my_html_block(args):}} {{if args.:}} tag/tag {{pass}} {{=DIV(UL(LI()))}} tag/tag tag/tag tag/tag {{return}} views/anyfile.html {{extend

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread weheh
@Anthony: Thanks for such a thorough response. I'm sorry I didn't mention for Question 2 that I was deleting the files myself using a method almost identical to the one you presented here. I was just wondering if there was a built-in way to do this more efficiently (less coding). Apparently not,

[web2py] Re: Getting user timezone

2012-02-29 Thread Anthony
I don't think you can reliably get it from the server side (there are services to infer it from IP address, but not completely reliable). You probably have to do it via Javascript in the browser: https://bitbucket.org/pellepim/jstimezonedetect. Anthony On Wednesday, February 29, 2012 7:13:21

[web2py] Re: web2py Leaflet.js and firefox won't render map tiles

2012-02-29 Thread Anthony
Is Leaflet just client side Javascript? Just to make sure nothing in web2py_ajax.html (and web2py.js) is interfering, what happens if you don't include web2py_ajax.html in your layout (assuming it is now included)? Also, are you using web2py templates to generate any of the Leaflet related JS

[web2py] Re: web2py Leaflet.js and firefox won't render map tiles

2012-02-29 Thread Anthony
I suppose it could also be a CSS problem, so you might remove web2py.css and skeleton.css as well, just to see if that's the issue. On Wednesday, February 29, 2012 9:40:19 PM UTC-5, Anthony wrote: Is Leaflet just client side Javascript? Just to make sure nothing in web2py_ajax.html (and

Re: [web2py] Re: cron setup

2012-02-29 Thread Sanjeet Kumar
Luciano i removed the one * before the applications and tryed than i got the following error :- OperationalError: unable to open database file Traceback (most recent call last): File /home/tls-sanjeet/Desktop/test/web2py/gluon/restricted.py, line 204, in restricted exec ccode in

[web2py] Re: Web2py and SSLH

2012-02-29 Thread drelyn86
It just forwards the connection like a reverse proxy, so no MITM is caused. Why would I need to completely disable session cookies? Anyway... I was thinking about this more, and I remembered that the current scaffolding app's method of preventing security breaches through generic views is by

[web2py] Web2py basic setup for Windows

2012-02-29 Thread Alok
Hi Friends, I am fairly new to Web2py and I need help. I use windows. Originally I set up Web2py on my computer using the binaries and I was able to get the Web2py server come up and do some very basic tests using the Web interface. However, I was not able to run the examples that are provided in

[web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Andrew
I'm trying to test the Teradata DAL change, but getting errors, I'm backtracking to test on SQL Server for creating Foreign Key relationships. Never tried this before now so I'm not sure if it worked before on SQL Server: dbSQL.define_table('Andrew_2py_PK', Field('Field1',

[web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Andrew
P.S. Ignore the comment about the book. It's there ?? :(

[web2py] Re: web2py 1.99.5 (please read)

2012-02-29 Thread Andrew
Sorry, one more. The last line should have read: References aren't working for Teradata (yet), but they didn't work before either.

[web2py] Re: Obtaining URL to image blob in GAE

2012-02-29 Thread Peter G.
@Anthony BrendanC: Thank you both for your code snippets! I've got it working now :). It's loading the image from a blob field in GAE's DB. @howesc: Can you possibly expand on how you modified your code to work with the blob store? That's something I'm also interested at looking into (would save

[web2py] Add the drop-down in plugin_instant_admin for best searching

2012-02-29 Thread Sanjeet Kumar
How can i implement the drop-down in plugin_instant_admin for best searching

[web2py] My site on powered by web2py

2012-02-29 Thread Bruce Wade
Hello, My site fit trainer online URL is wrong making it impossible to get to: http://http//www.fittraineronline.com there should be only one http:// http://web2py.com/poweredby -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com

[web2py] Re: Web2py basic setup for Windows

2012-02-29 Thread Anthony
Are you running Python 3? Note, the standard web2py is only compatible with Python 2.5 to 2.7 (though there is a Python 3 compatible branch). Note, you can simply create a shortcut to your web2py.py file on your desktop and click it to start the web2py server. Anthony On Wednesday, February

[web2py] Re: My site on powered by web2py

2012-02-29 Thread Anthony
Sorry. Fixed. On Thursday, March 1, 2012 12:35:22 AM UTC-5, Detectedstealth wrote: Hello, My site fit trainer online URL is wrong making it impossible to get to: http://http//www.fittraineronline.com there should be only one http:// http://web2py.com/poweredby -- -- Regards, Bruce

Re: [web2py] Re: My site on powered by web2py

2012-02-29 Thread Bruce Wade
Thanks, Here is the other site I have been busting my tail on: http://176.34.12.39we are now testing all the functionality and adding a few things before it is moved over to youadworld.com domain. On Wed, Feb 29, 2012 at 9:45 PM, Anthony abasta...@gmail.com wrote: Sorry. Fixed. On Thursday,

Re: [web2py] Re: My site on powered by web2py

2012-02-29 Thread Anthony
Cool. Let us know when it's ready and we'll post on the poweredby list. :-) On Thursday, March 1, 2012 12:47:24 AM UTC-5, Detectedstealth wrote: Thanks, Here is the other site I have been busting my tail on: http://176.34.12.39we are now testing all the functionality and adding a few things

[web2py] Connecting to Mysql on MAMP?

2012-02-29 Thread pbreit
Does anyone connect to a Mysql database running under MAMP? My web2py is running on MacOS Python, not MAMP. I'm getting: OperationalError: (2003, Can't connect to MySQL server on 'localhost' (61)) One thing I had to do is when running Navicat or SequelPro (db mgmt client app) I needed to

Re: [web2py] db.Table in appadmin when used in a module

2012-02-29 Thread Johann Spies
On 29 February 2012 16:28, Bruce Wade bruce.w...@gmail.com wrote: Is there any reason you have a extra comma in the __init__ method? def __init__(self, db*,*): Well spotted. No. It was a typo. I have removed it now, but that did not change the behaviour of appadmin. Regards Johann --

Re: [web2py] db.Table in appadmin when used in a module

2012-02-29 Thread Bruce Wade
Have you tried setting: def __init__(self, db): self.signature = current.akb_signature_uuid then using self.signature? On Wed, Feb 29, 2012 at 10:21 PM, Johann Spies johann.sp...@gmail.comwrote: On 29 February 2012 16:28, Bruce Wade bruce.w...@gmail.com wrote: Is there any reason you

Re: [web2py] Re: smartgrid query on 2 or more tables

2012-02-29 Thread Johann Spies
On 29 February 2012 16:44, Roderick roderick.m...@gmail.com wrote: Thanks Johann! 1. Can this be done with smartgrid? Not in a similar way. You can read more about that in http://www.web2py.com/books/default/chapter/29/7?search=smartgrid#SQLFORM.grid-and-SQLFORM.smartgrid-%28experimental%29

[web2py] Re: windows users? need help with a test...

2012-02-29 Thread Rahul
I am able to run the test fine on Win7(32bit), IE9 - Even my sample application ran fine - I am using web2py nightly build. Thanks, Rahul D On Mar 1, 2:34 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Great. This is what I needed to know as a the language load/dave functions were

Re: [web2py] db.Table in appadmin when used in a module

2012-02-29 Thread Johann Spies
On 1 March 2012 08:26, Bruce Wade bruce.w...@gmail.com wrote: Have you tried setting: def __init__(self, db): self.signature = current.akb_signature_uuid then using self.signature? Yes I had something similar and for some reason which I do not understand the code complained: