32137b6523
python3.3 and python3.4 are supported
16 lines
611 B
Python
16 lines
611 B
Python
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):
|
|
return 'empty'
|