Ticket About SQLAlchemy default model

2 views
Skip to first unread message

gas...@gmail.com

unread,
Feb 7, 2007, 2:16:38 AM2/7/07
to TurboGears Trunk
Hi,

I found this ticket proposed a way to re-org the mapper
http://trac.turbogears.org/ticket/1251

it looks cool, should we take this?


--
Fred

Jorge Vargas

unread,
Feb 8, 2007, 11:00:42 AM2/8/07
to turbogea...@googlegroups.com
I like it I believe the current idea regarding SA is to go as "low
level" as possible on the TG part so people can build on top of that
with any mapper they like.
>
> --
> Fred
>
>
> >
>

gas...@gmail.com

unread,
Feb 13, 2007, 12:25:47 AM2/13/07
to TurboGears Trunk
> I like it I believe the current idea regarding SA is to go as "low
> level" as possible on the TG part so people can build on top of that
> with any mapper they like.
>


Does any one has opposite opinion to this ticket?

http://trac.turbogears.org/ticket/1251

Is it suit for 1.0.2 or for trunk?


gas...@gmail.com

unread,
Feb 13, 2007, 12:37:21 AM2/13/07
to TurboGears Trunk
BTW I remind a ticket that said we could center the identity
declaration into several block, such as:


visits_table = Table('visit', metadata,
Column(...........)
)

class Visit(object):
def lookup_visit(cls, visit_key):
return Visit.get(visit_key)
lookup_visit = classmethod(lookup_visit)

mapper(Visit, visits_table)


These 2 both won't effect the working code, just the code style issue.

Jorge Godoy

unread,
Feb 13, 2007, 5:27:16 AM2/13/07
to turbogea...@googlegroups.com
"gas...@gmail.com" <gas...@gmail.com> writes:


I didn't get it. What are you saying? To group everything related to Visit,
then everything related to Users, etc.?

I just wish that people that use Macs / Windows / Unix take care with line
endings on files. It is really annoying getting a file and seeing a lot of
'^M's (CRs) at line endings. I did correct one or two in the past but they're
back here.

I believe that somebody's subversion is handling ".py" files as binary.

--
Jorge Godoy <jgo...@gmail.com>

Jorge Godoy

unread,
Feb 13, 2007, 5:28:28 AM2/13/07
to turbogea...@googlegroups.com
"gas...@gmail.com" <gas...@gmail.com> writes:

I agree with that. If it makes it simpler for using SA's docs, then lets use
it!

--
Jorge Godoy <jgo...@gmail.com>

Karl Guertin

unread,
Feb 13, 2007, 9:21:45 AM2/13/07
to turbogea...@googlegroups.com
On 2/13/07, gas...@gmail.com <gas...@gmail.com> wrote:
> Is it suit for 1.0.2 or for trunk?

No complaints on 1.0 branch from me. I have no doc legacy ;]

Reply all
Reply to author
Forward
0 new messages