This section of the django-lass-people documentation is automatically generated from the code.
This package provides a model of a membership database for a student or community radio station, as well as the means to bind people to other models.
people contains several models: models that define the person database, and models that form the credit system.
people.models.person contains models pertaining to people and various subtypes of people.
For the time being, it defines the structure of the URY membership database, which is a legacy hold-over and in need of some cleanup.
Bases: people.models.person.Person
A person who has approved an item of data.
This class is currently a proxy to Person.
Bases: people.models.person.DoesNotExist
Bases: people.models.person.MultipleObjectsReturned
Bases: people.models.person.Person
A creator of data.
This class is currently a proxy to Person.
Bases: people.models.person.DoesNotExist
Bases: people.models.person.MultipleObjectsReturned
Bases: django.db.models.base.Model
A person tracked by the URY people database.
A person, despite the name of the database table, is not necessarily a URY member. The people database also tracks:
Bases: django.core.exceptions.ObjectDoesNotExist
Bases: django.core.exceptions.MultipleObjectsReturned
Retrieves the full name of this person.
The full name is in the format FIRSTNAME LASTNAME, as per Western customs.
Retrieves the reverse-order full name of this person.
The result will be in the format LASTNAME, FIRSTNAME (with the comma).
people.models.credit contains models concerning crediting people for having performed roles with regards to other models.
Bases: people.mixins.approvable.ApprovableMixin, people.mixins.creatable.CreatableMixin, lass_utils.mixins.effective_range.EffectiveRangeMixin
Abstract base class for credit models.
Bases: django.db.models.base.Model
A type of credit, as used in ShowCredit.
Types of show credit might include “presenter”, “director”, “reporter” and so on.
Bases: django.core.exceptions.ObjectDoesNotExist
Bases: django.core.exceptions.MultipleObjectsReturned