from flask import Blueprint
from flask_wtf.csrf import CSRFProtect

# Create the blueprint
admin_blueprint = Blueprint('admin_blueprint', __name__, 
                          template_folder='templates',
                          static_folder='static',
                          static_url_path='/admin/static')

# Import routes after creating blueprint to avoid circular imports
from . import routes