#2236: Uncapitalize DBsession
------------------------+---------------------------------------------------
Reporter: pitrou | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.0rc1
Component: TurboGears | Version: 2.0b5
Severity: minor | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by chrisz):
The capitalization of the name has a reason. `DBSession` is actually not a
session, but a (scoped) session ''constructor'', i.e. acting like a class.
It only looks like an object because you can call most of its methods on
the class level. To avoid confusion, we should follow the SQLAlchemy
documentation which also capitalizes all session constructors.
--
Ticket URL: <http://trac.turbogears.org/ticket/2236#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---