Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-28 Thread Ches Martin
Ok, no more Session.mapper in QuickWiki :-) - Ches On Aug 25, 8:44 pm, Ben Bangert [EMAIL PROTECTED] wrote: So, I've got to admit, I'm actually regretting telling Ches that Session.mapper was fine. I talked with Mike, and it turns out I really didn't understand a bunch of the intricacies

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-28 Thread Gabriel Gellner
:-) Thanks for the great work, this makes my ability to grok the new way of doing things much easier! Gabriel On Tue, Aug 28, 2007 at 05:09:05PM -0700, Ches Martin wrote: Ok, no more Session.mapper in QuickWiki :-) - Ches On Aug 25, 8:44 pm, Ben Bangert [EMAIL PROTECTED] wrote:

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-26 Thread Ben Bangert
On Aug 25, 2007, at 10:31 PM, Jose Galvez wrote: Ben, I've just read the Session.mapper docs and I'm not sure what your concerns are. Are you concerned with its use? or that putting it in the tutorial will confuse new users? Well, in regards to how querying and autoflushing work with

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-25 Thread Ben Bangert
On Aug 22, 2007, at 10:16 PM, Mike Orr wrote: I'm using Session.mapper in my application and find it superior to the regular mapper. According to the page history, Mike Bayer took it out to avoid confusing newbies who might think it'srecommended rather than optional. I put it back in with a

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-25 Thread Jose Galvez
now I'll have to take a closer look at Session.mapper because it looks like your implying that is does something other then what the old assign mapper did. I have a project right now where I'm using Session.mapper and I've not hit any problems yet. And it does let me do from model import Mytable

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-25 Thread Jose Galvez
Ben, I've just read the Session.mapper docs and I'm not sure what your concerns are. Are you concerned with its use? or that putting it in the tutorial will confuse new users? Jose Ben Bangert wrote: On Aug 22, 2007, at 10:16 PM, Mike Orr wrote: I'm using Session.mapper in my application

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-23 Thread Mike Orr
Hmm, I'd hesitate to put it in QuickWiki because people will learn database programming from that. At least mention it's an optional feature and point out what it's doing. I'm glad QuickWiki is being updated, thanks. --Mike On 8/22/07, Ches Martin [EMAIL PROTECTED] wrote: I noticed those

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-23 Thread Jose Galvez
Thanks Mike, I'm glad its back in there Jose Mike Orr wrote: On 8/22/07, Jose Galvez [EMAIL PROTECTED] wrote: http://wiki.pylonshq.com/display/pylonscookbook/SQLAlchemy+0.4+for+people+in+a+hurry I was going through the 0.4 version of the tutorial today and saw that the reference to

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-22 Thread Jose Galvez
I was going through the 0.4 version of the tutorial today and saw that the reference to Session.mapper has been removed. Is Session.mapper from the first version not correct, or was it simply removed to make the tutorial simpler to read? I personally found that little nugget if info very

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-22 Thread Mike Orr
On 8/22/07, Jose Galvez [EMAIL PROTECTED] wrote: http://wiki.pylonshq.com/display/pylonscookbook/SQLAlchemy+0.4+for+people+in+a+hurry I was going through the 0.4 version of the tutorial today and saw that the reference to Session.mapper has been removed. Is Session.mapper from the first

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-22 Thread Ches Martin
I noticed those edits too as I was updating the QuickWiki doc (which is using Session.mapper). I asked Ben about using it QuickWiki beforehand, since I thought it was he who once mentioned shunning it in the docs for simplicity to new users. He said it was fine. shrug -- Ches Martin [EMAIL

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-22 Thread Ches Martin
Nuts. Pardon the double post. On Aug 23, 1:57 am, Ches Martin [EMAIL PROTECTED] wrote: I noticed those edits too as I was updating the QuickWiki doc (which is using Session.mapper). I asked Ben about using it QuickWiki beforehand, since I thought it was he who once mentioned shunning it

SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-20 Thread Mike Orr
At Ben's request, I've split SQLAlchemy for people in a hurry into two articles. SQLAlchemy 0.4 for peopele in a hurry contains the most recent version, which we've been discussing on this list. This version does not work with SQLAlchemy 0.3.