GroupProperties¶
Qualified name: intranet.apps.groups.models.GroupProperties
- class intranet.apps.groups.models.GroupProperties(*args, **kwargs)[source]¶
Bases:
Model
The GroupProperties model contains a OneToOneField with the intranet.apps.groups.models.Group object (really just the default django.contrib.auth.models.Group), and contains properties and other app-specific options about a group.
- group
A OneToOneField with a Group object.
- student_visible
Whether the group should be visible to students in group selections.
- Parameters:
id (AutoField) – Primary key: ID
student_visible (BooleanField) – Student visible
Relationship fields:
- Parameters:
group (
OneToOneField
toGroup
) – Group (related name:groupproperties
)
Methods
Attributes
group
Type:
OneToOneField
toGroup
group_id
Internal field, use
group
instead.id
Type:
AutoField
objects
student_visible
Type:
BooleanField