On Jul 2, 5:11 pm, Yarko Tymciurak wrote:
> 2009/7/2 小谢
>
>
>
>
>
> > On Jul 2, 4:55 pm, Yarko Tymciurak wrote:
> > > On Thu, Jul 2, 2009 at 2:19 AM, 小谢 wrote:
>
> > > > On Jul 2, 2:30 am, Yarko Tymciurak wrote:
>
On Jul 2, 4:55 pm, Yarko Tymciurak wrote:
> On Thu, Jul 2, 2009 at 2:19 AM, 小谢 wrote:
>
> > On Jul 2, 2:30 am, Yarko Tymciurak wrote:
> > > On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote:
>
> > > ..
>
> > > > Thanks. It really helped. It's
On Jul 2, 2:30 am, Yarko Tymciurak wrote:
> On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote:
>
> ..
>
> > Thanks. It really helped. It's lucky that the project is still in its
> > early stage and we'll be refactoring the existing code with respect to
> > web2py's conventions.
>
> Glad it helped.
On Jul 2, 2:57 pm, Сл wrote:
> Hi everyone
>
> I'm encapsulating a couple of classes into a file under myapp/modules
> and initialize some of them with "db" object. The weired thing is that
> after one successful query I got "cursor already closed" exception
> later on. Any suggestions?
Oh, th
Hi everyone
I'm encapsulating a couple of classes into a file under myapp/modules
and initialize some of them with "db" object. The weired thing is that
after one successful query I got "cursor already closed" exception
later on. Any suggestions?
--~--~-~--~~~---~--~--
On Jul 1, 1:09 pm, Yarko Tymciurak wrote:
> Hi Xie -
>
> The reason this worked as you described:
>
> For each request to your application, web2py runs, finds your (the request)
> application,
> executes each file in the models directory (since the connection needs to be
> defined),
> and then
Recently I'm having some trouble with web2py but I don't know where
the problem is. My best guess is that it's about the MVC namespace.
Please correct me if I'm wrong.
The problem is that I defined a class "App" in models/utils.py and
when I tried to inherit this class in another .py file under t
On 6月24日, 上午10时06分, mdipierro wrote:
> Can you tell us step by step what you are doing and which version of
> web2py?
>
> massimo
>
> On Jun 23, 8:35 pm, Сл wrote:
>
> > Whenever I try to execute directly an sql, the test failed with
> > "syntax error". Meanwhile the code works well when acces
Whenever I try to execute directly an sql, the test failed with
"syntax error". Meanwhile the code works well when accessed from a
browser.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
hello all
Here is a patch for gluon/sql.py to fix the raise of exception when
executing directly an sql statement.
For example:
db.executesql("ALTER SEQUENCE table_id_seq RESTART WITH 1;")
--- sql.py 2009-05-25 11:48:49.0
+0800
+++ sql.py
10 matches
Mail list logo