# Path: mutant/managers.py
# class FilteredQuerysetManager(models.Manager):
#     def __init__(self, *args, **kwargs):
#         self.args = args
#         self.kwargs = kwargs
#         super(FilteredQuerysetManager, self).__init__()
# 
#     def get_queryset(self):
#         qs = super(FilteredQuerysetManager, self).get_queryset()
#         return qs.filter(*self.args, **self.kwargs)
# 
# Path: mutant/models/field/managers.py
# class FieldDefinitionManager(PolymorphicManager.from_queryset(FieldDefinitionQuerySet)):
#     def get_by_natural_key(self, app_label, model, name):
#         qs = self.select_subclasses()
#         return qs.get(model_def__app_label=app_label,
#                       model_def__model=model, name=name)
# 
#     def names(self):
#         qs = self.get_queryset()
#         return qs.order_by('name').values_list('name', flat=True)
# 
#     def create_with_default(self, default, **kwargs):
#         qs = self.get_queryset()
#         return qs.create_with_default(default, **kwargs)


from ...managers import FilteredQuerysetManager
from ...models import FieldDefinitionManager
from __future__ import unicode_literals



class ForeignKeyDefinitionManager(FilteredQuerysetManager,
                                  FieldDefinitionManager):

# Path: mutant/managers.py
# class FilteredQuerysetManager(models.Manager):
#     def __init__(self, *args, **kwargs):
#         self.args = args
#         self.kwargs = kwargs
#         super(FilteredQuerysetManager, self).__init__()
# 
#     def get_queryset(self):
#         qs = super(FilteredQuerysetManager, self).get_queryset()
#         return qs.filter(*self.args, **self.kwargs)
# 
# Path: mutant/models/field/managers.py
# class FieldDefinitionManager(PolymorphicManager.from_queryset(FieldDefinitionQuerySet)):
#     def get_by_natural_key(self, app_label, model, name):
#         qs = self.select_subclasses()
#         return qs.get(model_def__app_label=app_label,
#                       model_def__model=model, name=name)
# 
#     def names(self):
#         qs = self.get_queryset()
#         return qs.order_by('name').values_list('name', flat=True)
# 
#     def create_with_default(self, default, **kwargs):
#         qs = self.get_queryset()
#         return qs.create_with_default(default, **kwargs)


# Path: mutant/contrib/related/managers.py
from ...managers import FilteredQuerysetManager
from ...models import FieldDefinitionManager

from __future__ import unicode_literals



class ForeignKeyDefinitionManager(FilteredQuerysetManager,
                                  FieldDefinitionManager):

    pass