Skip navigation

Plugins & Extensions

Plugins & Extensions

Extend Sparrow CMS with custom Django apps.

Custom Blocks

Create new StreamField blocks by extending BaseBlock or BaseLayoutBlock. Register them via SPARROW_HTML_STREAMBLOCKS or SPARROW_LAYOUT_STREAMBLOCKS in settings.

Custom Apps

Add a Django app to the site's docker/files/app/ directory. Add models, views, templates, and wagtail_hooks. Register in INSTALLED_APPS.

API Extensions

Add REST or GraphQL endpoints using Django REST Framework or wagtail-grapple. Sparrow's import API supports custom YAML tags via serializers.

Third-party Packages

Add packages to docker/files/requirements.txt. Popular extensions: wagtail-localize (translation), wagtail-ai (LLM integration), wagtail-cache (caching), wagtail-seo (SEO metadata).