On Dec 8, 7:11 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> please check it out and let me know if there are issues
In the new appadmin, I tried the SQL JOIN using the following query:
db.gis_layer.id==db.gis_layer_openstreetmap.layer
I get the following error:
Traceback (most recent call last):
File "C:\Bin\web2py\gluon\restricted.py", line 62, in restricted
exec ccode in environment
File "C:\Bin\web2py\applications\sahana/controllers/appadmin.py",
line 207, in <module>
File "C:\Bin\web2py\gluon\globals.py", line 55, in <lambda>
self._caller=lambda f: f()
File "C:\Bin\web2py\applications\sahana/controllers/appadmin.py",
line 131, in select
match=regex.match(request.vars.query)
TypeError: expected string or buffer
NB It seems odd that when upgrading Web2Py, I need to also update
appadmin.py & appadmin.html inside my re-imported application (& re-
amend the appadmin.html to extend a layout_default.html so that it
doesn't get screwed by my application's custom layout).
Would it not make more sense to have appadmin live outside the
application in a 'core' module, such as 'admin'?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---