OpenSlides/openslides/utils/person/__init__.py

18 lines
636 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
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
__all__ = ['receive_persons', 'generate_person_id', 'get_person', 'Person',
'Persons', 'PersonFormField', 'MultiplePersonFormField',
'PersonField', 'PersonMixin', 'EmptyPerson']
class EmptyPerson(PersonMixin, Person):
@property
def person_id(self):
2012-09-15 09:11:56 +02:00
return 'empty'