Poll_groups¶
Qualified name: intranet.apps.polls.models.Poll\_groups
- class intranet.apps.polls.models.Poll_groups(id, poll, group)¶
Bases:
Model
- Parameters:
id (AutoField) – Primary key: ID
Relationship fields:
- Parameters:
poll (
ForeignKey
toPoll
) – Poll (related name:Poll_groups+
)group (
ForeignKey
toGroup
) – Group (related name:Poll_groups+
)
Methods
Attributes
group
Type:
ForeignKey
toGroup
group_id
Internal field, use
group
instead.id
Type:
AutoField
objects
poll
Type:
ForeignKey
toPoll
poll_id
Internal field, use
poll
instead.