# Path: sequere/compat.py

# 
# Path: sequere/registry.py
# class SequereRegistry(dict):
#     def __init__(self):
#     def for_model(self, model):
#     def get_identifier(self, instance):
#     def identifiers(self):
#     def unregister(self, name):
#     def register(self, *args, **kwargs):
#     def _register_model(self, model, sequere=None,
#                         name=None, **kwargs):
#     def _register(self, sequere):
# def autodiscover():
# def register(*args, **kwargs):
# 
# Path: sequere/base.py
# class ModelBase(object):
#     model = None
#     identifier = None
# 
#     def get_identifier(self):
#         return self.identifier or self.model.__name__.lower()


from sequere.compat import User
from sequere.registry import registry
from sequere.base import ModelBase


class UserSequere(ModelBase):
    model = User
    identifier = 'user'


if registry.for_model(User) is None:

# Path: sequere/compat.py

# 
# Path: sequere/registry.py
# class SequereRegistry(dict):
#     def __init__(self):
#     def for_model(self, model):
#     def get_identifier(self, instance):
#     def identifiers(self):
#     def unregister(self, name):
#     def register(self, *args, **kwargs):
#     def _register_model(self, model, sequere=None,
#                         name=None, **kwargs):
#     def _register(self, sequere):
# def autodiscover():
# def register(*args, **kwargs):
# 
# Path: sequere/base.py
# class ModelBase(object):
#     model = None
#     identifier = None
# 
#     def get_identifier(self):
#         return self.identifier or self.model.__name__.lower()


# Path: sequere/contrib/user/sequere_registry.py
from sequere.compat import User
from sequere.registry import registry
from sequere.base import ModelBase



class UserSequere(ModelBase):
    model = User
    identifier = 'user'


if registry.for_model(User) is None:

    registry.register(User, UserSequere)