Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2253 (closed documentation: fixed)

Opened 10 years ago

Last modified 10 years ago

Parent-child relationship with admin to docs

Reported by: Artem Owned by:
Priority: high Milestone: 2.1a1
Component: TurboGears Version: 2.0rc1
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.

Change History

comment:1 Changed 10 years ago by mramm

  • Milestone changed from 2.0rc1 to 2.0rc2

comment:2 Changed 10 years ago by mramm

  • Version changed from 2.0b6 to 2.0rc1

comment:3 Changed 10 years ago by percious

  • Status changed from new to closed
  • Resolution set to fixed

I believe this is well covered in multiple places with moviedemo.

Note: See TracTickets for help on using tickets.