# Path: shopkit/category/settings.py
# CATEGORY_MODEL = getattr(settings, 'SHOPKIT_CATEGORY_MODEL')
# 
# Path: shopkit/category/settings.py
# USE_MPTT = getattr(
#     settings, 'SHOPKIT_USE_MPTT', 'mptt' in settings.INSTALLED_APPS)


import logging
from django.utils.translation import ugettext_lazy as _
from django.db import models
from shopkit.category.settings import CATEGORY_MODEL
from shopkit.category.settings import USE_MPTT
        from shopkit.core.settings import PRODUCT_MODEL
        from shopkit.core.utils import get_model_from_string
        from shopkit.core.settings import PRODUCT_MODEL
        from shopkit.core.utils import get_model_from_string
    from mptt.models import MPTTModel
    from mptt.managers import TreeManager
            from shopkit.core.settings import PRODUCT_MODEL
            from shopkit.core.utils import get_model_from_string

        return parent_list


    def __unicode__(self):
        """ The unicode representation of a nested category is that of
            it's parents and the current, separated by two colons.

            So something like: <main> :: <sub> :: <subsub>
        """


        parent_list = self.get_parent_list()
        result_list = []
        for parent in parent_list:
            super_unicode = super(NestedCategoryBase, parent).__unicode__()
            result_list.append(super_unicode)

        super_unicode = super(NestedCategoryBase, self).__unicode__()

        result_list.append(super_unicode)

        result = ' :: '.join(result_list)

        return result

"""
:class:MPTTCategoryBase
Blabla
"""

# Path: shopkit/category/settings.py
# CATEGORY_MODEL = getattr(settings, 'SHOPKIT_CATEGORY_MODEL')
# 
# Path: shopkit/category/settings.py
# USE_MPTT = getattr(
#     settings, 'SHOPKIT_USE_MPTT', 'mptt' in settings.INSTALLED_APPS)


# Path: shopkit/category/basemodels.py
import logging
from django.utils.translation import ugettext_lazy as _
from django.db import models
from shopkit.category.settings import CATEGORY_MODEL
from shopkit.category.settings import USE_MPTT
        from shopkit.core.settings import PRODUCT_MODEL
        from shopkit.core.utils import get_model_from_string
        from shopkit.core.settings import PRODUCT_MODEL
        from shopkit.core.utils import get_model_from_string
    from mptt.models import MPTTModel
    from mptt.managers import TreeManager
            from shopkit.core.settings import PRODUCT_MODEL
            from shopkit.core.utils import get_model_from_string


        return parent_list


    def __unicode__(self):
        """ The unicode representation of a nested category is that of
            it's parents and the current, separated by two colons.

            So something like: <main> :: <sub> :: <subsub>
        """


        parent_list = self.get_parent_list()
        result_list = []
        for parent in parent_list:
            super_unicode = super(NestedCategoryBase, parent).__unicode__()
            result_list.append(super_unicode)

        super_unicode = super(NestedCategoryBase, self).__unicode__()

        result_list.append(super_unicode)

        result = ' :: '.join(result_list)

        return result

"""
:class:MPTTCategoryBase
Blabla
"""

if USE_MPTT: