OpenSlides/openslides/utils/person/__init__.py

24 lines
657 B
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
openslides.utils.person
~~~~~~~~~~~~~~~~~~~~~~~
Person api for OpenSlides
:copyright: 2011, 2012 by OpenSlides team, see AUTHORS.
:license: GNU GPL, see LICENSE for more details.
"""
2012-08-13 14:37:49 +02:00
from openslides.utils.person.signals import receive_persons
from openslides.utils.person.api import (generate_person_id, get_person,
Person, Persons)
from openslides.utils.person.forms import PersonFormField, MultiplePersonFormField
from openslides.utils.person.models import PersonField, PersonMixin
2012-09-15 09:11:56 +02:00
class EmptyPerson(PersonMixin):
@property
def person_id(self):
2012-09-15 09:11:56 +02:00
return 'empty'