Skip to content

Extension Points

This page provides a centralized reference for all pluggable surfaces in starlette-admin. Use the table below to identify the appropriate class, hook, or decorator for your use case and navigate to the in-depth documentation.

Extension Point API Interface / Hook Documentation Reference
Custom filter Subclass BaseFilter and override get_filter_registry() on a ModelView. Custom Filters
Custom exporter Subclass BaseExporter. Export & Import
Custom importer Subclass BaseImporter. Export & Import
Custom theme Subclass BaseTheme. Custom Themes
Custom authentication backend Subclass BaseAuthProvider. Authentication
Custom file storage Subclass BaseStorage (automatically registered via 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

Note

To customize the default Tabler theme colors without building a custom theme from scratch, you can pass a TablerSettings object into a DefaultTheme instance.


Next Steps

  • Concepts: Learn how these pluggable pieces fit into the architecture of the framework as a whole.
  • Views: Explore the core views that most of these extension points attach to.