#919: Changeset 1376 broke model.py with no identity
--------------------------+-------------------------------------------------
Reporter: jorge.vargas | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b1
Component: TurboGears | Version: 0.9a5
Severity: minor | Keywords:
--------------------------+-------------------------------------------------
a quickstarted project with no identity renders
from sqlobject import *
from turbogears import identity
from turbogears.database import PackageHub
hub = PackageHub("fooball")
__connection__ = hub
# class YourDataClass(SQLObject):
# pass
which is assuming sqlpobject was default this was a fix to #801
http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/qstemplates/quickstart/%2Bpackage%2B/model.py_tmpl?rev=1376#L5
should read
#if $identity == "sqlobject"
I think godoy forgot $identity was a 3 value boolean variable :)
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/919>
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.
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-tickets
-~----------~----~----~----~------~----~------~--~---