Skip to content

Middleware

BootstrapThemeMiddleware

bootstrap_customizer.middleware.BootstrapThemeMiddleware

Uses the current Site and SiteBootstrapTheme to add the current site's BootstrapTheme to the request.

Attributes:

  • request.bootstrap_theme - BootstrapTheme instance for the current site