# -*- coding: utf-8 -*-
from __future__ import unicode_literals


import warnings

from glitter.blockadmin.blocks import BlockAdmin, site

from .models import BaseBlock  # noqa


BlockModelAdmin = BlockAdmin

__all__ = ['site', 'BlockModelAdmin']


warnings.warn(
    "BlockModelAdmin has been moved to blockadmin.blocks.BlockAdmin",
    DeprecationWarning,
    stacklevel=2
)

Add deprecation warning and backward compatibility
Add deprecation warning and backward compatibility
