[web2py:15668] Apache and Mod Proxy, full configuration file

2009-02-01 Thread Speedbird
Just wanted to post the configuration page that is working in my production server, I've installed web2py and my "new" app in it, written 100% in python/web2py (my blog), here are the settings: Webserver: Apache 2.0.63 System: CentOS 4.5 Access Level: Full (root) # Apache Configuration file for

[web2py:15669] Detecting GAE

2009-02-01 Thread billf
I have installed the google appengine but do not want web2py to use the google datastore just because the libs are there but that is what the welcome app does. I have read some threads related to detecting GAE but they seemed inconclusive. Is there a way that, in a model (or elsewhere for that m

[web2py:15670] Re: Multiple validation problem (bug?)

2009-02-01 Thread Fran
> db.book.author.requires=[IS_UPPER(), >     IS_NOT_IN_DB(db((db.book.title==request.vars.title)& > (db.book.volume==request.vars.volume)),'book.author')] > The condition "IS_NOT_IN_DB" don't works anymore. Split across 2 lines: db.book.author.requires=IS_UPPER() db.book.author.requires=IS_NOT_IN

[web2py:15673] Re: Apache and Mod Proxy, full configuration file

2009-02-01 Thread Fran
On Feb 1, 8:50 am, Speedbird wrote: > Just wanted to post the configuration page that is working in my Hi Speedbird, Thanks, pls post on http://mdp.cti.depaul.edu/AlterEgo &/or https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/recipes F --~--~-~--~~~---~--~~

[web2py:15674] Re: FCKEditor or JQuery alternative

2009-02-01 Thread Fran
On Feb 1, 10:33 am, murray3 wrote: > Can anyone recomend using FCKEditor with web2py, or is there any > jQuery code similar in functionality for user editing of wiki pages? > Oh, and I wish to deploy on GAE similar > tohttp://code.google.com/p/app-engine-site-creator/ > any help / ideas apprecia

[web2py:15677] Re: Do we have an easy way to move a record in web2py?

2009-02-01 Thread Robin B
Here is the same in the shortcut syntax from trunk: #move to existing db.posts[4] = db.posts[5] #copy to existing del db.posts[5] #delete # move to new (proposal) db.posts[0] = db.posts[5] #copy to new -> 6 del db.posts[5] # delete It is not atomic on GAE, but should be on SQL. Robin On Jan 3

[web2py:15672] Re: Detecting GAE

2009-02-01 Thread billf
As a short-term solution, I am using the following patch: In compileapp.py, is_gae is set depending on the result of imp.get_magic() so in build_environment() in the same module I store is_gae in environment['GAE']. Then in db.py I can say if globals()['GAE']: before importing google stuff and

[web2py:15680] Re: Detecting GAE

2009-02-01 Thread billf
Robin That sounds the right place to set that the WEB2PY_RUNTIME is 'GOOGLE' but it begs the questions: Shouldn't there be a non-google value set somewhere else (wsgihandler.py?) and what would the value be ('WSGI'?)? Would it be prefereable to be a boolean (IS_GAE=True) and set elsewhere to Fa

[web2py:15679] Re: def some methods to the Object of Record

2009-02-01 Thread BearXu
What I mean is that Web2py maybe didn't support the self-link table. For example db.friendship.insert(user_id=9 , user_id=20) Then in friendship table it should be: friendship user_id user_id 1 9 20 But now it is: friendship user_id user_id 1 20

[web2py:15681] Re: Detecting GAE

2009-02-01 Thread Robin B
> Shouldn't there be a non-google value set somewhere else > (wsgihandler.py?) and what would the value be ('WSGI'?)? When web2py does its detection in main.py, it can do: runtime = os.environ.get('WEB2PY_RUNTIME']','DEFAULT') > Would it be prefereable to be a boolean (IS_GAE=True) and set > e

[web2py:15682] RFC: More DAL syntax

2009-02-01 Thread Robin B
(db.posts.tag in ['a','b']) # operator.__contains__(a, b) (db.posts.color is 'blue')#operator.is_(a, b) (db.posts.color is not 'red') #operator.is_not(a, b) (db.posts.title % 'keyword') #operator.__mod__(a, b) orderby=[-db.posts.date,-db.posts.title] # operator.__neg__(obj) Robin --~--~

[web2py:15671] FCKEditor or JQuery alternative

2009-02-01 Thread murray3
Can anyone recomend using FCKEditor with web2py, or is there any jQuery code similar in functionality for user editing of wiki pages? Oh, and I wish to deploy on GAE similar to http://code.google.com/p/app-engine-site-creator/ any help / ideas appreciated. Chris M --~--~-~--~~---

[web2py:15678] Re: Do we have an easy way to move a record in web2py?

2009-02-01 Thread BearXu
Thanks 2009/2/1 Robin B > > Here is the same in the shortcut syntax from trunk: > > #move to existing > db.posts[4] = db.posts[5] #copy to existing > del db.posts[5] #delete > > # move to new (proposal) > db.posts[0] = db.posts[5] #copy to new > -> 6 > del db.posts[5] # delete > > It is not atom

[web2py:15683] Re: RFC: More DAL syntax

2009-02-01 Thread Robin B
Instead of: db.posts[0] = db.posts[5] #for insert How about: db.posts << db.posts[5] # operator.__lshift__(a, b) and also: db.posts << db.posts(**attrs) # default attrs Robin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[web2py:15684] Re: Multiple validation problem (bug?)

2009-02-01 Thread ionel
I already did that: 1) db.book.title.requires=IS_UPPER() db.book.author.requires=IS_UPPER() db.book.author.requires=IS_NOT_IN_DB(db ((db.book.title==request.vars.title)& (db.book.volume==request.vars.volume)),'book.author') INPUT: RESULT IN DATABASE: Author, Title Author, Ti

[web2py:15686] Re: RFC: More DAL syntax

2009-02-01 Thread Robin B
Python reverses the order of __contains__(seq,obj) arguments, so: (db.posts.tags in ['web2py']) would have to be: ('web2py' in db.posts.tags) (['web2py','cool'] in db.posts.tags) Not all bad, Robin On Feb 1, 9:54 am, Robin B wrote: > A syntax for batch put/insert: > > db.posts.insert([attrs1,

[web2py:15676] Re: Detecting GAE

2009-02-01 Thread Robin B
You are right importing 'google' is insufficient for detection, but detecting GAE side effects is only slightly better. All GAE apps start in gaehandler.py. Simply set the environment variables in side of gaehandler.py, it results in 100% fool proof detection. At the top of gaelhander.py: # fo

[web2py:15685] Re: RFC: More DAL syntax

2009-02-01 Thread Robin B
A syntax for batch put/insert: db.posts.insert([attrs1,attrs2]) db.posts << [attrs1,attrs2] Robin On Feb 1, 9:35 am, Robin B wrote: > Instead of: > db.posts[0] = db.posts[5] #for insert > > How about: > db.posts << db.posts[5] # operator.__lshift__(a, b) > > and also: > db.posts << db.posts(*

[web2py:15675] Re: FCKEditor or JQuery alternative

2009-02-01 Thread murray3
Thanks Fran, I should have looked into web2py code more, just getting started. Yes nicEdit can be modified through plugins I see, which would allow adding functionality like button for google gadgets etc. So this will do for my purpose. ChrisM On Feb 1, 11:23 am, Fran wrote: > On Feb 1, 10:33 am

[web2py:15687] joins on gae

2009-02-01 Thread Robin B
This is an example from the web2py book: 1 >>> rows=db(db.person.id==db.dog.owner).select() 2 >>> for row in rows: print row.person.name, 'has', row.dog.name 3 Alex has Skipper 4 Alex has Snoopy 5 Bob has Puppy This 1 level inner join will be able to be performed on GAE efficiently using batch g

[web2py:15688] Re: SQLFORM + hidden field

2009-02-01 Thread mdipierro
can you get the gluon/sqlhtml.py and gluon/sql.py from trunk and see if the problem goes away? Massimo On Jan 31, 10:12 pm, ionel wrote: > web2py Version 1.55.2 (2009-01-08 08:38:01) > Apache/2.2.9 mod_python/3.3.1 Python/2.5.2 mod_wsgi/2.3 > > On Jan 31, 10:54 pm, mdipierro wrote: > > > which

[web2py:15689] Re: FCKEditor or JQuery alternative

2009-02-01 Thread mdipierro
btw. nicedit is fckeditor with a more polished interface and without plugins. so it is lighter. On Feb 1, 5:42 am, murray3 wrote: > Thanks Fran, > I should have looked into web2py code more, just getting started. Yes > nicEdit can be modified through plugins I see, which would allow > adding fun

[web2py:15690] Re: def some methods to the Object of Record

2009-02-01 Thread mdipierro
It does support self refenecing but you cannot have two fields with same name. you can do this db,.define_table('friendship',db.Field('friend1',db.friend),db.Field ('friend2',db.friend)) db.friendship.insert(friend1=9,friend2=20) On Feb 1, 7:10 am, BearXu wrote: > What I mean is that Web2py m

[web2py:15691] Re: Multiple validation problem (bug?)

2009-02-01 Thread mdipierro
Let me try this On Feb 1, 9:41 am, ionel wrote: > I already did that: > > 1) db.book.title.requires=IS_UPPER() > db.book.author.requires=IS_UPPER() > db.book.author.requires=IS_NOT_IN_DB(db >     ((db.book.title==request.vars.title)& > (db.book.volume==request.vars.volume)),'book.author') >

[web2py:15692] Re: joins on gae

2009-02-01 Thread mdipierro
Can you send me a patch! this would be great! On Feb 1, 10:58 am, Robin B wrote: > This is an example from the web2py book: > > 1 >>> rows=db(db.person.id==db.dog.owner).select() > 2 >>> for row in rows: print row.person.name, 'has', row.dog.name > 3 Alex has Skipper > 4 Alex has Snoopy > 5 Bob

[web2py:15693] Re: RFC: More DAL syntax

2009-02-01 Thread mdipierro
please send me a summary email. I will review this and they should be easy to implement. Mind I do not want to use all possible operators for duplicaiton of syntax since this may preclude use for new features we have not thought of. Massimo On Feb 1, 10:24 am, Robin B wrote: > Python reverses t

[web2py:15694] Re: Will DAL support the verion control in the future?

2009-02-01 Thread mdipierro
interesting. Some of it can be handled using a version control. I will look at that code to see what else it does. Massimo On Jan 31, 4:51 pm, BearXu wrote: > For example, I reuploaded a new file. Then can I have two files under > version control like > django-reversion

[web2py:15695] Re: Detecting GAE

2009-02-01 Thread billf
I've run a lot of tests and I couldn't set os.environ['SOME_KEY'] ='some value' and have access to it in welcome/model/db.py. If you can tell me how to do it then I'll test it out. As I couldn't get it to work, I did the following which I could get to work. In gaehandler.py, I added "env['app_e

[web2py:15696] Re: joins on gae

2009-02-01 Thread Robin B
This should work for left joins too because batch get returns None when an id does not exist. http://code.google.com/appengine/docs/python/datastore/functions.html 1000 results/query, 30 queries/request = 30,000 results/request max using queries I have not seen a limit for results/batch_get so

[web2py:15697] Re: Detecting GAE

2009-02-01 Thread Robin B
> I've run a lot of tests and I couldn't set os.environ['SOME_KEY'] > ='some value' and have access to it in welcome/model/db.py. If you > can tell me how to do it then I'll test it out. GAE probably restricts setting it for security reasons. Your work around is good. Web2py should read os.env

[web2py:15698] Re: RFC: More DAL syntax

2009-02-01 Thread mdipierro
not obvious to me what they do On Feb 1, 9:18 am, Robin B wrote: > (db.posts.tag in ['a','b'])  # operator.__contains__(a, b) > (db.posts.color is 'blue')    #operator.is_(a, b) > (db.posts.color is not 'red')  #operator.is_not(a, b) > (db.posts.title % 'keyword') #operator.__mod__(a, b) > order

[web2py:15699] Re: RFC: More DAL syntax

2009-02-01 Thread Robin B
This is the most important one: db.posts.insert(**attrs) db.posts << attrs And the batched versions: db.posts.insert([attrs1,attrs2]) db.posts << [attrs1,attrs2] With the batched versions, GAE can insert 1000s of records in parallel. You are right, the rest of the syntax can wait. Robin On

[web2py:15700] Re: RFC: More DAL syntax

2009-02-01 Thread Robin B
> > (['a','b'] in db.posts.tags)  # operator.__contains__(a, b) list operations > > (db.posts.color is 'blue')    #operator.is_(a, b) more readable than == > > (db.posts.color is not 'red')  #operator.is_not(a, b) more readable than != > > (db.posts.title % 'keyword') #operator.__mod__(a, b) L

[web2py:15701] Re: SQLFORM + hidden field

2009-02-01 Thread ionel
Ok, done. But after that: Traceback (most recent call last): File "gluon/restricted.py", line 62, in restricted exec ccode in environment File "/home/web2py/site/web2py/applications/docs/controllers/ default.py", line 185, in File "gluon/globals.py", line 55, in self._caller=lambd

[web2py:15702] Re: RFC: More DAL syntax

2009-02-01 Thread Robin B
What about this for batched get: db.posts([4,5,8]) -> [...] db.posts(4,5,8) -> [...] always returns a list (SQLRows) It would mostly be used internally, but it would be nice to have in some cases. Robin On Feb 1, 12:09 pm, Robin B wrote: > > > (['a','b'] in db.posts.tags)  # operator.__contai

[web2py:15703] Re: RFC: More DAL syntax

2009-02-01 Thread mdipierro
Here are some problems. Not deal breaker but to keep in mind. > > > (db.posts.color is 'blue')    #operator.is_(a, b) > > more readable than == > > > > (db.posts.color is not 'red')  #operator.is_not(a, b) > > more readable than != > You lose the ability to check whether and object is a field.

[web2py:15704] Re: SQLFORM + hidden field

2009-02-01 Thread mdipierro
sorry. you also need the new gluon/html.py On Feb 1, 12:43 pm, ionel wrote: > Ok, done. > But after that: > > Traceback (most recent call last): >   File "gluon/restricted.py", line 62, in restricted >     exec ccode in environment >   File "/home/web2py/site/web2py/applications/docs/controllers

[web2py:15705] Re: joins on gae

2009-02-01 Thread billf
I would like to see how this code looks as well please On Feb 1, 5:48 pm, Robin B wrote: > This should work for left joins too because batch get returns None > when an id does not exist. > > http://code.google.com/appengine/docs/python/datastore/functions.html > > 1000 results/query, 30 queries/

[web2py:15706] Re: RFC: More DAL syntax

2009-02-01 Thread Robin B
> You lose the ability to check whether and object is a field. > > b = a is db.posts.color I have not tried it, and I do not totally understand, but if this breaks things like isinstance, etc then no way. This is just syntactic sugar, so it is not needed. > > > > > orderby=[-db.posts.date,-db.p

[web2py:15707] Re: joins on gae

2009-02-01 Thread Robin B
To accomplish this: rows=db(db.person.id==db.dog.owner).select() In the driver do this: do a query: dogs=db(db.dogs.id>0).select() do a batch get: people = db.people([dog.owner for dog in dogs]) merge the 2 lists and return SQLRows. Robin On Feb 1, 1:16 pm, billf wrote: > I would like to se

[web2py:15708] Re: joins on gae

2009-02-01 Thread mdipierro
I'll wait for your patch. ;-) Massimo On Feb 1, 1:22 pm, Robin B wrote: > To accomplish this: > rows=db(db.person.id==db.dog.owner).select() > > In the driver do this: > do a query: >  dogs=db(db.dogs.id>0).select() > do a batch get: >  people = db.people([dog.owner for dog in dogs]) > > merge

[web2py:15709] Re: joins on gae

2009-02-01 Thread Robin B
You will get better performance if you constrain the initial query, especially if there are many dogs: rows=db(db.person.id==db.dog.owner,db.dog.kind=='mutt').select() or rows=db(db.person.id==db.dog.owner).select(limitby=100) Since batch get returns the people list in the order that you sent it

[web2py:15710] Re: SQLFORM + hidden field

2009-02-01 Thread ionel
Sorry, It doesn't work. categ_id = 0 if vars_list.has_key('categ') : categ_id = vars_list['categ'] form=SQLFORM(db.docs_book, fields=['author','title','volume','editor','collection', 'place','year','pages','number','keywords','language','isbn','comment'], labels={'auth

[web2py:15711] Re: CAS on GAE

2009-02-01 Thread angleto
Hello, I installed CAS on GAE, when I try to register or retrieve password I get the folloing message: "Internal error, we are unable to send the email", this message is printed by the retrieve function in the controller cas.py. I tryed also to modify the function email in the model email.py as f

[web2py:15712] Migrate and GAE

2009-02-01 Thread billf
There are loads of examples of GAE define_tables that include migrate='something.table' (including the doctests in gql.py) but, as far as I can see, no code in gql.py that processes migrate=. Am I correct in thinking that for GAE this clause is just ignored? --~--~-~--~~~-

[web2py:15713] Re: def some methods to the Object of Record

2009-02-01 Thread BearXu
Thanks but I also want to complain some sentences: I think maybe it should be put into the documentation of DAL and more functions like "having" "aggregation[count,sum,min,max,avg]" "Migrate" should also be put into it. If each set of functions can be noted "wether it can be done into GAE", it wil

[web2py:15714] Re: Migrate and GAE

2009-02-01 Thread Robin B
Yes it is ignored. Some of the tests were copied from sql.py, and there is lots of left over baggage in gql.py from sql.py. gql.py once, as its name implies, generated GQL, but now gql.py uses Google's Query class to build queries (cleaner and faster). The SQL stuff will be removed very soon.

[web2py:15715] DAL compared with Model in Django

2009-02-01 Thread BearXu
some questions can not be answerd by the comparion with Django in the web2py.com: 1)How many field types does DAL have now? Can we extend by ouselves? 2)In Django, when they defining a model: class Blog(models.Model):>a table in DAL name = models.CharField(max_length=100)

[web2py:15716] Re: DAL compared with Model in Django

2009-02-01 Thread Robin B
On Feb 1, 4:37 pm, BearXu wrote: > some questions can not be answerd by the comparion with Django in the > web2py.com: > > 1)How many field types does DAL have now? string length=32 IS LENGTH(length) blob boolean integer IS INT IN RANGE(1e100,1e100) double IS FLOAT IN RANGE(1e100,1e100) date I

[web2py:15717] Re: What's this? web2py.org

2009-02-01 Thread Baron
gaah, I opened http://python.com at work! On Feb 1, 9:38 am, Jaroslaw Zabiello wrote: > There was an error in registar DNS settings. web2py.org should point > to web2py.com now. That previous page was in Polish and it was Quran > searcher. It was because of that DNS error. And trademark has not

[web2py:15718] Re: Migrate and GAE

2009-02-01 Thread billf
a few questions: Isn't the plan to do away with gql.py? Does the query class encapsulate sql or is it a different syntax? (I know I'm being lazy here I will look it up) On Feb 1, 10:29 pm, Robin B wrote: > Yes it is ignored. > > Some of the tests were copied from sql.py, and there is lots of l

[web2py:15719] Re: new T2 and new T3

2009-02-01 Thread Tokyo Dan
I'm confused... Is this new T2, T3 stuff to with web2py something like what Pinax is to django? On Dec 7 2008, 9:11 am, mdipierro wrote: > I have just reposted a new T2 > >    http://mdp.cti.depaul.edu/examples/static/web2py.app.plugin_t2.tar > > and a new T3 > >    http://mdp.cti.depaul.edu/exa

[web2py:15720] Re: new T2 and new T3

2009-02-01 Thread Tokyo Dan
Also is there a tutorial / manual on T2 & T3? On Dec 7 2008, 9:11 am, mdipierro wrote: > I have just reposted a new T2 > >    http://mdp.cti.depaul.edu/examples/static/web2py.app.plugin_t2.tar > > and a new T3 > >    http://mdp.cti.depaul.edu/examples/static/web2py.app.t3.tar > > The new T3 you

[web2py:15721] Re: new T2 and new T3

2009-02-01 Thread Tokyo Dan
Disregard this. I guess I should refer to the readme section on the T3 website. On Feb 2, 10:05 am, Tokyo Dan wrote: > Also is there a tutorial / manual on T2 & T3? > > On Dec 7 2008, 9:11 am, mdipierro wrote: > > > I have just reposted a new T2 > > >    http://mdp.cti.depaul.edu/examples/stati

[web2py:15722] Re: Migrate and GAE

2009-02-01 Thread Robin B
gql.py can never go away...for backwards compatibility, but it could be replaced eventually. This is Google's Query class: http://code.google.com/appengine/docs/python/datastore/queryclass.html It is not *QL, it is just Python. Robin On Feb 1, 7:03 pm, billf wrote: > a few questions: > > I

[web2py:15723] T2, T3, KPAX

2009-02-01 Thread Tokyo Dan
I wonder if T2 & T3 are common web2py code that came out of creating the KPAX example. --~--~-~--~~~---~--~~ 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@googlegr

[web2py:15724] Re: new T2 and new T3

2009-02-01 Thread mickgardner
A couple of questions: 1, is there a change log? 2. What (if anything) has this release to do with the up coming new web2py release? On Dec 7 2008, 11:11 am, mdipierro wrote: > I have just reposted a new T2 > >    http://mdp.cti.depaul.edu/examples/static/web2py.app.plugin_t2.tar > > and a new

[web2py:15725] Re: What's this? web2py.org

2009-02-01 Thread mdipierro
I did it once in a class at the university and the class was recorded. Massimo On Feb 1, 5:31 pm, Baron wrote: > gaah, I openedhttp://python.comat work! > > On Feb 1, 9:38 am, Jaroslaw Zabiello wrote: > > > There was an error in registar DNS settings. web2py.org should point > > to web2py.com

[web2py:15726] Re: new T2 and new T3

2009-02-01 Thread mdipierro
There is changelog for T3. Massimo On Feb 1, 10:01 pm, mickgardner wrote: > A couple of questions: > > 1, is there a change log? > 2. What (if anything) has this release to do with the up coming new > web2py release? > > On Dec 7 2008, 11:11 am, mdipierro wrote: > > > I have just reposted a ne

[web2py:15727] Re: T2, T3, KPAX

2009-02-01 Thread mdipierro
KPAX predates T2+T3. My dream is to port all of them on some common API (the new gluon/tools.py) On Feb 1, 9:30 pm, Tokyo Dan wrote: > I wonder if T2 & T3 are common web2py code that came out of creating > the KPAX example. --~--~-~--~~~---~--~~ You received this

[web2py:15728] Re: CAS on GAE

2009-02-01 Thread mdipierro
This is a warning that cache.disk is not supported on GAE. This is not needed unless you use it explicitly in your apps. You can disable logging of warnings on GAE. Massimo On Feb 1, 3:49 pm, angleto wrote: > Hello, > I installed CAS on GAE, when I try to register or retrieve password I > get t

[web2py:15729] Re: T2, T3, KPAX

2009-02-01 Thread Tokyo Dan
So should I disregard KPAX examples and just spend time studying T2 & T3? On Feb 2, 3:08 pm, mdipierro wrote: > KPAX predates T2+T3. My dream is to port all of them on some common > API (the new gluon/tools.py) > > On Feb 1, 9:30 pm, Tokyo Dan wrote: > > > I wonder if T2 & T3 are common web2py

[web2py:15730] Re: SQLFORM + hidden field

2009-02-01 Thread mdipierro
I tried this with trunk and I cannot reproduce the problem. Please email me your app and I will take a look. Massimo On Feb 1, 1:50 pm, ionel wrote: > Sorry, > > It doesn't work. > > categ_id = 0 > if vars_list.has_key('categ') : >     categ_id = vars_list['categ'] > > form=SQLFORM(db.docs_book

[web2py:15731] star-nix.com web2py hosting not confidence inspiring

2009-02-01 Thread Tokyo Dan
"You can now start checking our web2py demo at web2py.star-nix.com." Went to this hosting site and tried to find "web2py.star-nix.com". It's not there. Also searching for web2py on that website doesn't return much info. Not confidence inspiring Seems like a crappy hosting service. Expensive too.

[web2py:15732] Re: T2, T3, KPAX

2009-02-01 Thread Fran
On Feb 2, 6:12 am, Tokyo Dan wrote: > So should I disregard KPAX examples and just spend time studying T2 & > T3? T2 works very well...however I think the future is with gluon/tools.py in Trunk. If you learn T2 it'll allow you to easily understand that, though, even if it is changed a bit... I'

[web2py:15733] Re: new T2 and new T3

2009-02-01 Thread Fran
On Feb 2, 4:01 am, mickgardner wrote: > A couple of questions: > 2. What (if anything) has this release to do with the up coming new > web2py release? This predates the new work in gluon/tools.py. The 2 are independent of each other...each stands alone. T2/T3 are more mature & featureful. Tools.

[web2py:15734] Re: def some methods to the Object of Record

2009-02-01 Thread Fran
On Feb 1, 10:07 pm, BearXu wrote: > Thanks but I also want to complain some sentences: > I think maybe it should be put into the documentation of DAL and more > functions like "having" "aggregation[count,sum,min,max,avg]" "Migrate" > should also be put into it. > If each set of functions can be n

[web2py:15736] Re: DAL compared with Model in Django

2009-02-01 Thread Fran
On Feb 1, 11:17 pm, Robin B wrote: > On Feb 1, 4:37 pm, BearXu wrote: > > 3)In Django table can be inherited like: > > class *Place*(models.Model): > >     name = models.CharField(max_length=50) > > class Restaurant(*Place*):-> Can it be done in DAL? > >     serves_hot_dogs =

[web2py:15737] Re: T2, T3, KPAX

2009-02-01 Thread mdipierro
Fran, you've got to see kpax. I think it is the best web2py ever written. If only were build on the new gluon/tools... On Feb 2, 1:26 am, Fran wrote: > On Feb 2, 6:12 am, Tokyo Dan wrote: > > > So should I disregard KPAX examples and just spend time studying T2 & > > T3? > > T2 works very well.

[web2py:15735] Re: star-nix.com web2py hosting not confidence inspiring

2009-02-01 Thread mdipierro
The creator of star-nix is Phyo. He is a very active member of this community. I am sure these are temporary problems and he'll be here soon explaining it. Massimo On Feb 2, 12:18 am, Tokyo Dan wrote: > "You can now start checking our web2py demo at web2py.star-nix.com." > > Went to this hosti

[web2py:15738] new web site?

2009-02-01 Thread mdipierro
I am working on this prototype website to go with launch of web2py 1.56 sometime this week. https://mdp.cti.depaul.edu/examples2 Pros, cons? This stretches the limits of my CSS capabilities. It is full of typos. Can you help me fix them? Please notice the new Who page containing an extensive li