GroupProperties¶
Qualified name: intranet.apps.groups.models.GroupProperties
- class intranet.apps.groups.models.GroupProperties(*args, **kwargs)[source]¶
Bases:
ModelThe 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 (
OneToOneFieldtoGroup) – Group (related name:groupproperties)
Methods
Attributes
groupType:
OneToOneFieldtoGroupgroup_idInternal field, use
groupinstead.idType:
AutoFieldobjectsstudent_visibleType:
BooleanField