OpenSlides/openslides/utils/user/__init__.py

23 lines
610 B
Python
Raw Normal View History

2012-08-03 00:11:53 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
2012-08-04 13:18:06 +02:00
openslides.utils.user
~~~~~~~~~~~~~~~~~~~~~
2012-08-03 00:11:53 +02:00
2012-08-04 13:18:06 +02:00
User api for OpenSlides
2012-08-03 00:11:53 +02:00
:copyright: 2011, 2012 by OpenSlides team, see AUTHORS.
:license: GNU GPL, see LICENSE for more details.
"""
from openslides.utils.user.signals import receiv_users
2012-08-04 13:18:06 +02:00
from openslides.utils.user.api import generate_uid, split_uid, get_user, Users
from openslides.utils.user.forms import UserFormField, MultipleUserFormField
from openslides.utils.user.model import UserField, UserMixin
2012-08-03 00:11:53 +02:00
class EmtyUser(UserMixin):
@property
def uid(self):
return 'emtyuser'