# -*- coding: utf-8 -*-
"""
This overrides the Category with the class loaded from the
PUBLICATION_BACKBONE_CATEGORY_LINK_MODEL setting if it exists.
"""
from django.conf import settings
from publication_backbone.utils.loader import load_class


#==============================================================================
# Extensibility
#==============================================================================
CATEGORY_LINK_MODEL = getattr(settings, 'PUBLICATION_BACKBONE_CATEGORY_LINK_MODEL',
    'publication_backbone.models.defaults.category.category_link.CategoryLink')
CategoryLink = load_class(CATEGORY_LINK_MODEL, 'PUBLICATION_BACKBONE_CATEGORY_LINK_MODEL')

# -*- coding: utf-8 -*-
"""
This overrides the Category with the class loaded from the
PUBLICATION_BACKBONE_CATEGORY_LINK_MODEL setting if it exists.
"""
from django.conf import settings
from publication_backbone.utils.loader import load_class


#==============================================================================
# Extensibility
#==============================================================================
CATEGORY_LINK_MODEL = getattr(settings, 'PUBLICATION_BACKBONE_CATEGORY_LINK_MODEL',
    'publication_backbone.models.defaults.category.category_link.CategoryLink')
CategoryLink = load_class(CATEGORY_LINK_MODEL, 'PUBLICATION_BACKBONE_CATEGORY_LINK_MODEL')

# -*- coding: utf-8 -*- This overrides the Category with the class loaded from the PUBLICATION_BACKBONE_CATEGORY_LINK_MODEL setting if it exists. #============================================================================== # Extensibility #==============================================================================