Part of twistar.relationships View In Hierarchy
Known subclasses: twistar.relationships.BelongsTo, twistar.relationships.HABTM, twistar.relationships.HasMany, twistar.relationships.HasOne
| See Also | HABTM, HasOne, HasMany, BelongsTo | |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 21 | Method | __init__ | Constructor. |
| Parameters | inst | The DBObject
instance. |
| propname | The property name in the DBObject instance
that results in this class being created. | |
| givenargs | Any arguments given (through the use of a dict in the class
variable in DBObject rather than
a string to describe the relationship). The given args can include, for
all relationships, a class_name. Depending on the
relationship, association_foreign_key and
foreign_key might also be used. |