age to see the
change after "add now", with a price of losing all his previous input.
Lucky enough that I could arrange the is_in_db field at the first line
of my form, so the waste of input is minimum. In this case, the
benefit of "A
I've tested latest trunk as well as web2py_1.67.2 binary on Windows
platform. Both can call the cron job. In source code version it can
print an error traceback on the console, while in binary version it
can only print
WARNING:root:WEB2PY CRON Call returned code 255:
but not a big deal.
So, it
e in my
order system, the user does not really want to "sort" orders by pickup
place, but just wants to know which orders need to be prepared in ONE
GIVEN pickup place. So I just provide a search-by-pickup-place
feature. Hope you get the idea.
Sincerely,
Iceberg
--~--~-~--~
DAL('sqlite:///absolue/path')
notice the ///
On Oct4, 7:18pm, BluePoint wrote:
> Yes, thanks, I understand that - my current apps look for the database
> in a shared folder
> on another machine. However, I was wondering how one would tell web2py
> to do that.
> Normally one specifies the databa
The IS_UPPER() is based on python's upper(). In python document it
said,
Return a copy of the string converted to uppercase.
For 8-bit strings, this method is locale-dependent.
So if your locale doesn't work for some reason, I think you can at
least customize your own IS_UPPER(), and convert
.
Regards,
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2p
On Oct5, 11:31pm, mdipierro wrote:
>
> On Oct 5, 10:14 am, devnull wrote:
> > 2. I wanted a more specific error message for each field which uses an
> > is-float-in-range validator ... But is there a way to refer to the
> > actual max and min without repeating it in the string? Something like
>
Oct 6, 7:30 am, Kuba Kucharski wrote:
>
>
>
> > Still the main problem with admin editor is this
> > wrong-refreshing/wrong-displaying trauma - never solved or did I miss smth ?
>
> > On Oct 5, 2009 3:47 AM, "Iceberg" wrote:
>
> > Did not really try
Since you gonna import one homemade module anyway, why not just:
from applications.yourapp.modules.country import
country_names_as_a_list
db.define_table('shipping_info',
Field('countries', _requires=IS_IN_SET(country_names_as_a_list))
...
)
This way you don't force yourself to know someth
way I was first doing it but I am wondering what must
> be imported so module code can work (because it's working when it's in
> db.py).
> Also, creating a Field('country', 'countries') would be (I think) a
> nice addition. Should I submit a patch, Massimo?
The "crazy" need not be that crazy. I normally do:
db.Field('myfield','string',
widget=lambda field,value,**kwargs:
StringWidget.widget(field,value,_size=40,**kwargs)
so that the output field has a size=40 setting.
css should also work. Just make sure your definition appear in right
I am just curious to know whether ctrl+s works
in other user's environment. If it does not work, I won't mind because
it is not really my first choice to edit my app. :-)
On Oct7, 10:10pm, mdipierro wrote:
> Please check again it should be there
>
> On Oct 7, 4:26 am, Iceberg wro
every environment in existence
>
> In ASCII, it is "Device Control 3", and has been used for terminal control
> since the beginnings of the use of terminals.
>
>
>
> On Fri, Oct 9, 2009 at 3:52 AM, Iceberg wrote:
>
> > Do you mean that the ctrl+s is already impl
core, and has nothing to do with cache feature.
Hope this explanation makes thing clear.
Regards,
Iceberg
On Oct10, 1:27am, mdipierro wrote:
> @cache.ram(...)
> def index(): return dict(a=3)
>
> caches the dict only
>
> @cache.ram(...)
> def index(): return response.rende
On Oct10, 10:28am, Thadeus Burgess wrote:
> Is there a way to cache two different versions of a function?
>
> Say you have a contact page, that when users are logged in, includes a
> comments and suggestions form, however when your not logged in, does not
> display this form.
>
> Is there a way t
On Oct11, 3:42am, leone wrote:
> I have same string inserted in a table.
> When I select them, I debug this error:
>
> File "/xx/xx/web2py/web2py/gluon/sql.py", line 2235, in
> response
> return self._db._cursor.fetchall()
> OperationalError: Could not decode to UTF-8 column 'subject'
On Oct11, 4:21am, Thadeus Burgess wrote:
> > > On Oct 10, 7:52 am, devnull wrote:
> > > > Is there an option or a validator that will strip whitespace before
> > > > applying remaining validators for a given field on a form?
>
> > > > Somewhat related: I tried the CLEANUP validator but the resu
On Oct11, 12:24pm, weheh wrote:
>
> So caveat emptor: if you're working on ajax, make sure your views
> folder has an updated version of web2py_ajax.html.
>
> In general, this may be an issue about releasing newer versions of
> web2py because the apps aren't updated automatically. Perhaps the aja
') to my default
>
> Field('subject','text', default=u''.encode('utf8')),
>
> On 11 Ott, 01:53, Iceberg wrote:
>
>
>
> > On Oct11, 3:42am, leone wrote:
>
> > > I have same string inserted in a table.
> > > W
On Oct11, 7:23pm, "Michael - afewtips.com" wrote:
> Hi,
> I need to do this
>
> ( db.field % .25 == 0 )
>
> calculation on a field entered into a form.
>
> Do I need to create a function that checks (what?) or can it be
> entered directly in the
> db definition?
>
> Thanks
> Michael
Yes, you
ight spark a
> > better idea.
>
> > On Oct 12, 3:59 am, Joe Barnhart wrote:
>
> > > +1 on the idea, but the name "dust" seems a little idiomatic, doesn't it?
>
> > > As an aside, I discovered the absolutely fastest way to remove a set of
> >
Maybe you understand, but you still do not say it right. A list of
validators can have more than one criteria (means validator here) if
you want, but just that it can not be automatically rendered as a drop-
down widget.
And in your case, you just don't need multiple criteria (aka
validator).
On
No objection. IMHO, even my app might be affected due to css/jquery
issue, but it is acceptable, because the modification is easy, and
more importantly the new TH makes my app easier to use css/jquery to
customize the table header.
On Oct14, 8:39pm, mdipierro wrote:
> This may be seen as breaki
Newbie should really read through the built-in documents. It takes
some time but it is worthy!
http://www.web2py.com/examples/default/examples
The response.view trick is mentioned inside.
On Oct15, 7:12pm, Renato-ES-Brazil wrote:
> Simple and perfect!
>
> Thanks.
>
> On Oct 14, 9:56 pm, mdipi
Nice slides!
One comment. In slide 9, the web2py part is in fact the code of
controller, but I think a more equivalent comparison should be the
code of view, that is {{=form}} :-)
BTW, slide 5 and slide 23 are duplicated. :-)
On Oct18, 12:49am, mdipierro wrote:
> I really like your presentati
appengine/web2py directory? Those .svn/* files seem not exclude
in app.yaml so they will be uploaded too.
Regards,
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
On Oct19, 4:39am, mdipierro wrote:
> On Oct 18, 2:58 pm, Iceberg wrote:
>
> > I am using web2py_src.zip 1.67.2, Sep28 edition. After uploading my
> > apps, some of them work fine, some don't. Issues include:
>
> > 0. I can use gluon/contrib/login_methods/em
> On Oct 19, 11:00 pm, Richard wrote:
>
> > hello,
>
> > I find the validator error "too small or too large" too general.
> > Ideally they should return "not a number" if the int/float cast fails,
> > or "too big" / "too small" when out of range.
>
> > Would this work with the current API, or doe
It is a little bit surprising and happy to see these error_message
draw enough attention. :-) So is it time to also consider my proposal
more than one month before?
http://groups.google.com/group/web2py/browse_frm/thread/8cbe658406be595f
That way, we don't even have to adjust the default error
> On Oct 21, 12:03 pm, Iceberg wrote:
> > It is a little bit surprising and happy to see these error_message
> > draw enough attention. :-) So is it time to also consider my proposal
> > more than one month before?
> > http://groups.google.com/group/web2py/browse_
> > > On Oct 21, 12:03 pm, Iceberg wrote:
> > > > It is a little bit surprising and happy to see these error_message
> > > > draw enough attention. :-) So is it time to also consider my proposal
> > > > more than one month before?
> > &
Glad to know this undocumented convention. Now I understand better why
Massimo is not eager to do validators' i18n in a class-attribute,
because it tends to mislead developers to further adjust them and then
possibly affect other apps. :-)
On Oct30, 11:31am, mdipierro wrote:
> There is a reason
Hi folks,
Thanks for the hint Thadeus and Massimo give in this post
http://groups.google.com/group/web2py/browse_frm/thread/d891a1e936599362
Yet I have one more relevant quick question. Does the
export_to_csv_file() and import_from_csv_file() solution also work
when one db is on gae? Actually
t use export_to_cvs or import_from_cvs_file on GAE is you
> > have more than 1000 records.
>
> > On Oct 31, 10:35 pm, Iceberg wrote:
>
> > > Hi folks,
>
> > > Thanks for the hint Thadeus and Massimo give in this post
> > > http://groups.google.com/grou
On Nov3, 11:36am, mdipierro wrote:
> https://launchpad.net/t4
>
> but it is not as stable as t3. Eventually we are going to need better
> names.
On Nov3, 12:32pm, Wiiboy wrote:
> Perhaps more descriptive =)
It is kind of faq. :-)
IIRC, in the web2py 1.4x era, T2 was introduced. The name is a
rameter for CacheInRam.__call__(...,
deepcopy=True) for flexibility?
Hope to hear more feedback on this. Thanks.
Regards,
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users"
ult behavor should be that the object is deepcopied.
>
> On Nov 6, 12:08 am, Iceberg wrote:
>
>
>
> > > On Nov 6, 2:42 am, mdipierro wrote:
>
> > > > I found the problem.
>
> > > > There is, there always was, a bug in cache.ram. It was caching the
&
On Nov7, 1:10pm, mdipierro wrote:
> It is good but I do not understand what the data source is.
>
> http://www.hiprank.com/django-vs-ruby-on-rails-vs-web2py.html
That site is nothing more than a joke. But it really makes me laugh.
For example, see this: http://www.hiprank.com/boy-vs-girl.html
-
Wow, the shallowcopy old days come back! ^o^
One more typo. You forgot the "self.locker.release()" in line 181 of
cache.py in latest fix. I tried put it back and then everything is
smooth again.
On Nov7, 11:32pm, mdipierro wrote:
> OK. Please try trunk again.
>
> On Nov 7
I can confirm that the lock.release is back. Thanks!
One minor suggestion, your valuable comments which come from many test
and efforts, are worthy to be put into CacheInRam.__call__() 's doc
string or comment. Do you think so?
On Nov8, 12:34am, mdipierro wrote:
> Turns out the deepcopy has som
One typo. In Rows.__getslice__(), there is a "seld.db" which should be
"self.db".
By the way, one of my app relied on Rows._db is broken now, but not a
big deal, I can adjust it to use Rows.db instead. I know all
Class._foo naming convention indicates it is an internal variable so
no backward com
Off topic.
Recently web2py evolutes with many great enhancement. That is, without
doubt, a good thing. Yet it will be better if the new features are
documented, even roughly mentioned, in some well-known place. So that
people who missed a post in google mail list (and google-maillist-
search suck
I happened to find out that the "Confirmation dialog on delete" in
web2py_ajax.html is defined as:
$('input.delete').attr('onclick','if(this.checked) if(!confirm("{{=T
('Sure you want to delete this object?')}}")) this.checked=false;');
and it does NOT work.
But a slightly adjusted version:
Use session.flash instead.
On Nov14, 7:06pm, leone wrote:
> Ooops...
> It runs but .update_next interferes with message in response.flash and
> redirect *before* the drop_down message.
> There is a way to redirect *after* notification of response.flash?
> Thanks in advance.
>
> On 14 Nov, 11:56,
On Nov15, 1:35am, Francisco wrote:
> Hi hello every one.
>
> I'm building a simple application that consists of three modules but
> they share some db tables. I have finish the first module and is right
> now being tested. But I still need to finish the other two modules.
> When I have finished t
I noticed the MENU() helper uses a "web2py-menu-active" status, but
there is no corresponding definition in static/base.css
Suggest to add this into the default base.css:
.web2py-menu-active a {background-color: white;}
So that the active menu item will be shown in white background color.
Wan
Hi folks,
How to read an uploaded file object line by line? This seemingly easy
task stumps me. Now I am totally lost. :-/
def restore():
form = SQLFORM.factory(Field
('backup','upload',requires=IS_UPLOAD_FILENAME()))
if form.accepts(request.vars,keepvalues=True,session=None):
#
.file.seek(0)
> request.form.vars.backup.file.read()
>
> if it does not work, then the file stream can only be read
> sequentially and you need to re-open the file and read from there
>
> Massimo
>
> On Nov 15, 7:59 am, Iceberg wrote:
>
>
>
> > Hi folks,
>
> > How to read an uploaded f
I noticed that a file uploaded via SQLFORM.factory() exists in myapp/
uploads. How to delete them automatically?
By the way, shall the auto-deletion be web2py's default behaviour?
Since using SQLFORM.factory() hints no need to keep those file at all.
Code for reproducing the problem.
def foo():
On Nov29, 2:11am, Alex wrote:
> Is there any way to omit default controller name in URL if there is
> appropriate default controller action, like it's done for index action
> but to work for any default controller action?
Create a routes.py in your web2py directory. See web2py/
route.example.py f
And consequently one item can not exist in different category, so user
has to follow the predefined hierarchical tree to locate a post. Say,
a post about "Camry6" only exist in /root/toyota/camry6, but you can't
easily find it if you don't know Camry is built by Toyota. If using
tags, user can jus
b2py can run on windows mobile device.
Does anyone try that before?
Thanks in advance.
Sincerely,
Iceberg
--
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 unsubscrib
more (I was so fed up with its bugs that I
> gave it away for free).
> Anyway, it should work unless some module is missing.
> Can you tell us more about the python version you are using and the
> stack trace?
>
> Massimo
>
> On Dec 8, 9:22 am, Iceberg wrote:
>
> &g
On Dec9, 2:28am, mdipierro wrote:
> I think the problem is that it is running from the python.exe folder
> and not the web2py folder therefore it is not finding the libraries.
> As a test. try edit web2py.py and append the full web2py path to
> sys.path
>
> On Dec 8, 12:10 pm,
I am still using python 2.5.4, the favorite one for web2py. And just
notice that Python 2.7 is released, although still in alpha phase.
http://www.python.org/download/releases/2.7/
Other new features are not very necessary, but the statement "A much
faster io module" catches my attention. Will it
ec10, 1:08am, mdipierro wrote:
> 3) can you try comment that line?
>
> On Dec 9, 8:26 am, Iceberg wrote:
>
> > 3. However, web2py still breaks somewhere during starting up, the
> > break point seems to be in bind() of gluon/wsgiserver.py:
> > prevent_socket_inh
# it is actually ['123',
'123']
I am not requesting to change the behaviour back to web2py 1.73 era,
but just hope to hear some comments about such subtle circumstance.
Thanks in advance!
Regards,
Iceberg
[1]:
http://code.google.com/p/web2py/source/detail?r=24c5e2bef11cb1dc48e
erstanding.
On Jan12, 10:55pm, Timothy Farrell wrote:
> You can read about the bug and patch here:
>
> http://groups.google.com/group/web2py/browse_thread/thread/6d9e0e6eb7...
>
> -tim
>
> On 1/12/2010 8:52 AM, Iceberg wrote:
>
>
>
> > Hi pals,
>
> > When up
again and again when developing applications targeting to
non-English end users.
Regards,
Iceberg
On Jan13, 0:54am, mdipierro wrote:
> IS_IN_DB(...,zero=None)
>
> On Jan 12, 9:51 am, Jose wrote:
>
>
>
> > How to remove the words "choose a value" of the dropbox?
I knew this, but I still avoid writing such long paragraph of code in
view file. Because I am nervous that maybe someday some developer
(other than me) modifies this my_view.html and unintentionally mess up
all the indention, as we all know indention is not supposed to be
important in a pure html f
e valuable, wise discussion in document. For example:
IS_IN_DB(...,
zero=None, # Why? See
https://groups.google.com/group/web2py/browse_frm/thread/d25d13cd3f5bd7b1
...)
Regards,
Iceberg
On Jan29, 11:55pm, Thadeus Burgess wrote:
> +1 supporting DenesL argument. (but we already know this)
>
EMAIL_USER="[EMAIL PROTECTED]"
EMAIL_PASS="blah"
then later:
server = smtplib.SMTP(EMAIL_SERVER)
server.login(EMAIL_USER,EMAIL_PASS) # Add this line
server.sendmail(fromaddr, toaddrs, msg)
Sincerely,
I
anks in advance.
Regards,
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email
Thanks in advance.
Regards,
Iceberg
On Oct1, 9:26pm, voltron <[EMAIL PROTECTED]> wrote:
> You are right Achipa :-) I was thinking of something crossplatform.
> And this would rotate the log files created by web2py? Ill try it out
>
> Thanks!
>
> On Oct 1, 2:55 pm, achipa <
radio button with
"_class='delete'", then click it again and again, but nothing special
happened.
Besides, I guess there should not be an excalmatory mark in front of
the "confirm(...)". But I can not test it anyway.
Yours,
Iceberg
--~--~-~--~~~---
's default db record delete function. But I suggest
a more generic scenario: how about a radio button that can be "un-
choose"?
Though I know how to do that manually, I am still glad to see it
becomes "battery included" of web2py, say, a "input.deletable"
clas
On Dec 3, 6:29 am, mdipierro <[EMAIL PROTECTED]> wrote:
> please check it out. Very minor changes. The major change is caching
> of bytecode on GAE.
Is there any latest whatsnew.txt or changes.txt which comes with every
version of new web2py? I could not find any in web2py_win.zip neither
web2py_
Can web2py's XML(...) help you?
On Dec 8, 11:24 pm, achipa <[EMAIL PROTECTED]> wrote:
> I just noticed that by default it escapes some chars that it probably
> shouldn't - for example 'if x < y' becomes 'if x < y'. You can of
> course work around this, but is probably not what most users would
>
elect all non-True records? Is this
an intended design, or a unexpected flaw?
Thanks in advance.
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group,
f you do not rely on this if it is part of
> a logical expression.
>
> For your specific example that would mean something along the lines of
> db.( ~ (db.Orders.special==True))
>
> If I'm cardinally wrong, please correct me.
>
> On Dec 12, 12:59 pm, Iceberg wrote:
>
&
Hi Massimo,
Why there is a definition of FIELDSET in html.py, but there is not a
LEGEND? They usually show up together. Would you please append this in
next version of web2py?
class LEGEND(DIV): tag='legend'
Regards,
Iceberg
--~--~-~--~~~---~--~~
Yo
; > specification.
>
> > -Marko
>
> > On 17 joulu, 17:42, DenesL wrote:
>
> > > You can create it using the TAG helper.
>
> > > t=TAG.LEGEND('a','b',_c='d')
> > > t.xml() produces
> > > 'ab'
the end of the section under
> "Custom Helpers".
>
> On Thu, Dec 18, 2008 at 8:38 PM, Iceberg wrote:
>
> > It seems LEGEND does not qualify for either of the excluding criteria
> > mentioned by Massimo. So I think it should be in.
>
> > Denesl's soluti
;Come on, Sushi sucks!',
'unknown': 'What is Sushi?' }
))
# In case you want to ask, why a hack inside validators.py is the only
way to do this? I tried to define a subclass of IS_IN_SET in my own
model.py, it almost works, but fails when a record is going to be
sa
On Dec20, 12:05am, fja wrote:
> Hello, is there a way to edit multiple records at once in a form?
>
> Say you have a table
>
> StudentName (string)
> Term1 (string)
> Term2 (string)
>
> I would like to have a form similar to this.
>
> Student Name Grade Term 1 Grade Term2
> Roger
hough the doc said it can). We shall not
keep the bug for backward compatibility, shall we?
On Dec20, 1:26am, mdipierro wrote:
> sorry. it breaks backward compatibility.
>
> Massimo
>
> On Dec 19, 4:53 am, Iceberg wrote:
>
> > Hi Massimo,
>
> > According to doc
I know you are a reasonable man. :-) Thanks!
On Dec20, 2:02am, mdipierro wrote:
> Sorry I misunderstood. No objection. I will put it in. Thanks.
>
> Massimo
>
> On Dec 19, 11:59 am, Iceberg wrote:
>
> > Thanks for the quick feedback, but I don't understand. The h
he_model=cache.ram)
def annualStat():
teams=getAllRawData()
result=doSomeComplexCalculationBasedOn( teams ) # I hope to cache
the result of this too.
return result
Eliminate the nesting cache usage may be an option, but it will be
more intuitive if I do not have to do so. Can web2py support nesting
cache style?
Than
gards,
Iceberg, 2008-Dec-29, 01:29(AM), Mon
--- Original Message ---
From:Massimo Di Pierro
To: Iceberg
Date:Sun, 28 Dec 2008 10:52:43 -0600
Subject: Re: Bug in nesting cache?
---
> ok
&
TE):
return INPUT(_class='date',_type='text',
_name=field.name,_id=field.name,_value=value,requires=field.requires,**kwargs)
if field.type=='double':
return INPUT(_class='double',_type='text',
_name=field.name,_id=field.name,_value=value,requi
/browse_thread/thread/8382f8fcb7de0534/b7947df750e2a8de?lnk=gst&q=windows+service#b7947df750e2a8de
I am writing to ask whether situation changes since then. Too bad that
web2py.exe can not be deployed on a customer's PC with windows XP but
without python. :-S
Thanks in advance
tial
nudge to trigger all the magic
__trigger()
return 'started'
def usual_action(): # Just to show that normal requests are served as
usual
return {'foo':'bar'}
Sincerely,
Iceberg, 2009-Jan-04, 20:54(PM), Sun
--~--~-~--~~~
On Jan5, 4:22am, Fran wrote:
> On Jan 4, 4:53 pm, mdipierro wrote:
>
> > could you try
> > import gluon.winservice
>
> Yes, that works :)
> Both 1.54 bin & 1.55rc4 src
>
> F
Excuse me, but what do you mean "that works"?
In my 1.55rc4 bin, I got:
C:\DOWNLOAD\web2py>web2py -S welcome
...
Versio
eturn {'Oops':A('Try again',_href=URL(r=request,f='create'))}
return {'Create':t2.create(db.config)}
Thanks in advance.
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&qu
hat it does not need i18n at all!
nav=[TR(TD( # Iceberg at 21cn dot com prefers this style of page
navigation :-)
INPUT(_type='button',_value='|
<',_onclick='javascript:location="%s"'%self.action
(args=request.args,vars={'_page
rting as a service is only possible for a source
distribution. So I think Fran's problem would be a little easier than
mine. :-S
Thanks for your concern.
Iceberg
On Jan5, 10:53pm, Timothy Farrell wrote:
> Sorry guys. I generally only watch the list at work. Being it a holiday,
> I
382f8fcb7de0534/b7947df750e2a8de?lnk=gst&q=windows+service#b7947df750e2a8de
"pythoncom will register a class, so if you use web2py.exe, it
may cannot get the class file and run. . how
to make a zipped python exe file into a windows service "
Seems that is the proble
--- Original Message ---
Date:Mon, 5 Jan 2009 20:46:37 -0800 (PST)
Subject: [web2py:14607] Re: web2py.exe can not start as windows service
---
> I do not know what this means. Meanwhile I have incorporated Tim's
> patch into
>
> http://
--- Original Message ---
From:mdipierro
> On Jan 5, 9:02 pm, Iceberg wrote:
> > On Jan6, 5:26am, Fran wrote:
> > > it's all working for me now with latest
> > > src & your new winservice.py :)
> > > Al
ons.
Besides, it would be nice if the following pattern will also be
supported.
{{=datetime.date(2009,1,8) # this trailing comment also causes
error}}
I guess this problem is caused by the new template engine. (Don't get
me wrong, 6 times faster is awesome. ^_^)
Iceberg
--~--~-~--
Hi there,
T2 is supposed to support hierachical menu. But I am not familiar
enough to make it run perfectly. What I did:
1. download T3 package and only use it as a T2
2. In my db.py of my application I do:
from applications.t3.modules.t2 import T2
t2=T2(request,response,session,cache,T,db)
Hi folks,
After some refinement, I use this way to define menus in my default.py
# At the beginning of my default.py
response.automenu=[ # Such as
[('func_name1','menu_name1',absolute_url1), ...]
('tutor0','Tutorial 0',URL(r=request,f='tutor0')),
('tutor1','Tutorial 1',UR
umors, such as:
http://highscalability.com/google-appengine-second-look
But I still can't believe the performance is as bad as what I
mentioned above.
Did I miss something? Do you guys encounter same problem when playing
with GAE? Does your application successfully
Familiar discussion to me because I raised same topic before. :-)
Glad to see LEGEND is in, it is not too late for me to quit the habbit
of TAG.LEGEND. :-P
Seriously speaking, I still suggest to make TAG. more noticeable
(e.g. the first one in HTML helper section) in the builtin document as
will be added to GQLDB eventually.
>
> Either way, to prepopulate a db on GAE, you have to do it over a
> series of requests, because each request can only be 10 seconds max.
> See bulk uploader:http://code.google.com/appengine/articles/bulkload.html
>
> Robin
>
> On Jan 2
Hi Massimo,
A further question for this topic.
I remember one of the old topic in this forum group mentioned that, in
every action we do not need an explicit db.commit() because web2py
automatically does it when no exception is raised during the action.
So I wonder whether web2py automatically
Thanks for all the meaningful discussion here. I did learn something.
When talking about generating the menu, perhaps you will like my trick
here.
http://groups.google.com/group/web2py/browse_thread/thread/4988b16cb2787b57
You might already notice that, if your application have only one
cont
Hi gentlemens,
web2py 1.56 with Achipa's cron patch is great. I just do a:
copy applications/admin/cron applications/myapp/cron
and then modify the applications/myapp/cron/crontab, replace the
"admin" by "myapp", then the long time puzzle "old sessions" ( see
http://groups.google.com/group/web2
kage targets to this
world too. Besides, pyodbc claims that it supports "almost any
database", and it uses MIT license.
Comments are appreciated.
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"w
erved, does not
guarantee execution precision".
Did I miss something? Thanks in advance.
Iceberg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group,
301 - 400 of 671 matches
Mail list logo