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:

Relationship fields:

Parameters:

group (OneToOneField to Group) – Group (related name: groupproperties)

Methods

Attributes

group

Type: OneToOneField to Group

group_id

Internal field, use group instead.

id

Type: AutoField

objects

student_visible

Type: BooleanField