Hello All,
I'm trying to connect to an external Informix Standard Enigine database.
This works when I use Informixdb (python-module), but in web2py I get the
following error when go to the database administration:
ValueError: invalid literal for int() with base 10: '|
My db.py looks like this
I am wondering if there are some deeper issues getting NoSQL support in
Web2py - for instance the model part seems pretty tied into relational
ideas (e.g db.define_table and ..references db.dog etc). This design works
really well and insulates developers from much of the fiddlyness of dealing
Oh, I see. I thought that were you mentioned logs you were referring to
the built-in logs inside web2py (I assume there are some?). As far as my
'test app' is concerned all there is is the code I posted a couple of posts
ago. I also added these controllers for testing the deletion of records:
Sorry, I'm a little unclear on the manual explanation.
as an example, given app1 and app2
I want to have app2 share the database I have built in app1
So do I change the app2/models/db.py file to show: db =
DAL('sqlite://storage.sqlite',migrate='false') ?
and include all other myModel.py files
Il giorno sabato 24 novembre 2012 15:15:40 UTC+1, Massimo Di Pierro ha
scritto:
>
> Please open a ticket about this.
>
>
Thank you Massimo! Ticket 1185 opened.
Cheers,
Nico
--
Hi,
I like to build a small web2py app to manage documents on my computer. e.g.
db.define_table('docs',
Field('filename'),
Field('filetype'),
Field('category'),
Field('description'),
Field('filepath','upload')
);
If I like to create a new document,e.g. 'test.doc', how can web
Hi all
How do I enable row level access features on GAE datastore?
In the documentation is written that the accessible_query does not work
because of the usage of JOIN. Is there an other way of using it?
I think it could work using google:sql instead of google:datastore, but I'm
trying to avoid
>
> Oops - dumb question - I figured it out. One has to reference the sqlgrid
> variable name passed to the view. In my case "results". However, I now
> cannot seem to change the width of the desired element, but I can change
> the number of rows. Any ideas?
{{extend 'layout.html'}}
{{if
which method are you using to run web2py? what url are you using access
admin
if you do a fresh install of web2py and start development server with "
python web2py.py -a 'admin' " and then go to "
http://localhost:8000/welcome/admin ", does the admin form look okay there?
if you are running
I am using sqlform.grid and would like to control the display of the update
form. I read and saw several posts form which I
1) I see the formname parameter on the sqlgrid and am using the default
"web2py_grid.
2) I also saw a post referencing the name of the various forms (I am
interested i
Sample controller code:
(This is not production quality code. It is meant only to suggest an
approach to use).
def isloggedin_cookieless0(self):
request,response,session,cache,T,db=self._globals()
retIsLoggedIn = False
person_id = session.person_id
retIsLoggedIn = True if person_id else Fals
2012/11/25 howesc
> Martin,
>
> 1. i didn't know about maintenance modehow do you trigger it? i
> suspect there is a way to route it to use a particular set of view(s)
>
Howesc, it's the enable / disable button to be found on the admin page.
>
> 2. there is a request.is_local i believe
12 matches
Mail list logo