Skip to content

Extension Points

This page lists every pluggable surface in starlette-admin in one place. Find the class, hook, or decorator that matches what you want to change, then follow the link for the full guide.

Extension point API interface or hook Documentation
Custom filter Subclass BaseFilter and override get_filter_registry() on a ModelView. Custom Filters
Custom exporter Subclass BaseExporter. Export and Import
Custom importer Subclass BaseImporter. Export and Import
Custom theme Subclass BaseTheme. Custom Themes
Custom authentication backend Subclass BaseAuthProvider. Authentication
Custom file storage Subclass BaseStorage, which registers itself through its name attribute. File Storage
Custom widget Subclass BaseWidget. Custom Views
Extra routes on a custom view Apply the @route("/path", methods=["GET"]) decorator to a CustomView method. Custom Views
Plugin Subclass BasePlugin to bundle fields, views, assets, and more. Plugins

Tip

To change the default Tabler theme colors, you don't need a custom theme. Pass a TablerSettings object into a DefaultTheme instance instead.


What's next

  • Concepts: See how these pluggable pieces fit into the framework's architecture.
  • Views: Explore the core views that most of these extension points attach to.