loefsys.groups.models.committee module
Module containing the model definitions for a committee.
- class loefsys.groups.models.committee.Committee(*args, **kwargs)
Bases:
LoefbijterGroup
Model representing a committee.
A committee is a group of people that work together to run or manage a certain part of the association. An example of this is the “WebCie” which is responsible for the website of the association. A committee can be mandatory, meaning that new members can be assigned to this committee to satisfy their committee duty.
- mandatory
A flag that shows whether the committee is a mandatory committee. If a committee is one of the mandatory committees, new members can be assigned to this committee to satisfy their committee duty.
- Type:
- mandatory
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist
Bases:
DoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- loefbijtergroup_ptr
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- loefbijtergroup_ptr_id