2012-08-07 22:43:57 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2012-08-13 14:37:49 +02:00
|
|
|
from openslides.utils.person.signals import receive_persons
|
2012-11-24 14:01:21 +01:00
|
|
|
from openslides.utils.person.api import (
|
|
|
|
generate_person_id, get_person, Person, Persons)
|
2012-08-07 22:43:57 +02:00
|
|
|
from openslides.utils.person.forms import PersonFormField, MultiplePersonFormField
|
|
|
|
from openslides.utils.person.models import PersonField, PersonMixin
|
|
|
|
|
2012-11-24 14:01:21 +01:00
|
|
|
__all__ = ['receive_persons', 'generate_person_id', 'get_person', 'Person',
|
|
|
|
'Persons', 'PersonFormField', 'MultiplePersonFormField',
|
|
|
|
'PersonField', 'PersonMixin', 'EmptyPerson']
|
|
|
|
|
2012-08-07 22:43:57 +02:00
|
|
|
|
2012-11-27 22:46:54 +01:00
|
|
|
class EmptyPerson(PersonMixin, Person):
|
2012-08-07 22:43:57 +02:00
|
|
|
@property
|
|
|
|
def person_id(self):
|
2012-09-15 09:11:56 +02:00
|
|
|
return 'empty'
|