#2253: Parent-child relationship with admin to docs
---------------------------+------------------------------------------------
Reporter: Artem | Owner:
Type: documentation | Status: new
Priority: high | Milestone: 2.0rc1
Component: TurboGears | Version: 2.0b6
Severity: normal | Keywords: docs. getting started, model
---------------------------+------------------------------------------------
At the moment there are several ways to define the relationships in
SQLAlchemy with the different degree of declarativeness (and ability to
navigate from parent to children and from child to parent). On SQLAlchemy
docs most of examples are not present in full and also Catwalk was unable
to generate correct admin to some of them.
Anyway the point is that at the moment there is no recommended way to
define relationships between the model objects. There should be an example
for the model itself and explanation of how to make a CRUD interface for
it. It can be as simple as user->addresses or (in order to exploit wiki20)
topic_name->keywords
Novice users will appreciate it much - any non-trivial app needs parent-
child relationships and admin interface for them.
--
Ticket URL: <http://trac.turbogears.org/ticket/2253>
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
-~----------~----~----~----~------~----~------~--~---