#801: 0.9a5 - sqlalchemy quickstart model.py template incorrect
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Installation | Version: 0.9a4
Severity: normal | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):
ok. to update-
that patch will work to get SQLalchemy's required variables in place.
The default identity scheme however will not work -- i just tried a test
case after patching the install
The install patch will fix the following:
* gives you db access through _ _ engine _ _
* makes the datatypes available
These are the errors I have found that I do not know how to fix on my own
( tied too much into the TG quickstart for me to patch )
* tg-admin sql create does not support SQL alchemy ( will it ever ?
this should perhaps be documented in the quickstart after selected
sqlalchemy as the id provider )
* the schema is incorrect -> Table 'user_group' foreign keys on table
'group'. Class 'group' is mapped to table 'tg_group'
* i don't think that sqlalchemy can support automagic table creation
from mapped classes ( i checked the docs ). I think tables must be
explicitly generated via the Table() class instantiation , as created for
user_group and group_permission
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/801>
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
-~----------~----~----~----~------~----~------~--~---