loefsys.groups.models.fraternity module
Module containing the model definitions for a fraternity.
- class loefsys.groups.models.fraternity.Fraternity(*args, **kwargs)
Bases:
LoefbijterGroup
Model defining fraternities within the associations.
Fraternities are groups of members that want to do more outside of the regular association activities. Fraternities can be mainly male, mainly female or mixed.
- gender_base
The type of fraternity.
- Type:
- gender_base
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
- get_gender_base_display(*, field=<django.db.models.fields.PositiveSmallIntegerField: gender_base>)
- 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