On 11/30/06, Spider <[EMAIL PROTECTED]> wrote:
>
> With the latest updates from SVN, if I run quickstart with --sqlalchemy
> --identity I get a schema that contains definitions like this :
>     visits_table = Table('visit', metadata, ...
>     class Visit(object): ...
>     assign_mapper(session.context, Visit, visits_table)
>
> Is there a convention for when singular and plural forms are used? For
> me, more natural would be the other way around :
>     visit_table = Table('visits', metadata, ...
>     class Visit(object): ...
>     assign_mapper(session.context, Visit, visit_table)
>
> It's not a big deal, but if the latter choice is to be preferred, it
> would be better if the generated model followed it.
>

I agree with you, but unfortunately the code has to be kept as is for
backwards compatibility with the documentation and the previous
iterations of the identity model.  As you say, it's not a massive deal
though.


-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com
skype: fireflisystems

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to