# Path: common_configs/utils.py
# def merge_items(base, new_items):
#     """
#     Merges two lists and eliminates duplicates
# 
#     :type base: list
#     :type new_items: list
#     :rtype: list
#     """
#     for item in new_items:
#         if not item in base:
#             base = base + [item]
#     return base


from ..utils import merge_items
#-*- coding: utf-8 -*-

from __future__ import absolute_import, division, print_function, unicode_literals



class DebugToolbar(object):

    @property
    def MIDDLEWARE_CLASSES(self):
        """
        Appends :class:`debug_toolbar.middleware.DebugToolbarMiddleware`
        to list of ``MIDDLEWARE_CLASSES``.
        """

# Path: common_configs/utils.py
# def merge_items(base, new_items):
#     """
#     Merges two lists and eliminates duplicates
# 
#     :type base: list
#     :type new_items: list
#     :rtype: list
#     """
#     for item in new_items:
#         if not item in base:
#             base = base + [item]
#     return base


# Path: common_configs/apps/debugtoolbar.py
from ..utils import merge_items

#-*- coding: utf-8 -*-

from __future__ import absolute_import, division, print_function, unicode_literals



class DebugToolbar(object):

    @property
    def MIDDLEWARE_CLASSES(self):
        """
        Appends :class:`debug_toolbar.middleware.DebugToolbarMiddleware`
        to list of ``MIDDLEWARE_CLASSES``.
        """

        return merge_items(super(DebugToolbar, self).MIDDLEWARE_CLASSES, [