#1063: Identity/Visit creates duplicate tables
----------------------+-----------------------------------------------------
Reporter: mgaiman | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Identity | Version: 0.9a6
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
When quick starting a new project using 0.9a8 several duplicate tables get
created. These tables are visit and tg_visit, visit_identity and
tg_visit_identity. The tg_ duplicates are only created after the first
launch of the quick started project.
To fix:
* in soprovider.py change class TG_VisitIdentity(SQLObject): to class
TG_VisitIdentity(InheritableSQLObject):
* in sovisit.py change class TG_Visit(SQLObject): to class
TG_Visit(InheritableSQLObject): (and import InheritableSQLObject)
* in the model.py quickstart template, add a sqlmeta table="tg_..." for
both Visit and VisitIdentity
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1063>
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
-~----------~----~----~----~------~----~------~--~---