Spec-Zone.ru › Wagtail 2

Extending Wagtail

The Wagtail admin interface is a suite of Django apps, and so the familiar concepts from Django development - views, templates, URL routes and so on - can be used to add new functionality to Wagtail. Numerous third-party packages can be installed to extend Wagtail’s capabilities.

This section describes the various mechanisms that can be used to integrate your own code into Wagtail’s admin interface.

  • Creating admin views
    • Defining a view
    • Registering a URL route
    • Adding a template
    • Adding a menu item
    • Adding a group of menu items
  • Template components
    • Creating components
    • Passing context to the template
    • Adding media definitions
    • Using components on your own templates
  • Adding reports
    • Defining your report
    • Adding a menu item and admin URL
    • The full code
  • Adding new Task types
    • Task models
    • Custom TaskState models
    • Customising behaviour
    • Adding notifications
  • Audit log
    • Log actions provided by Wagtail
    • Log context
    • Log models
  • Customising the user account settings form
    • Adding new panels
  • Customising group edit/create views
    • Custom edit/create forms
  • Rich text internals
    • Data format
    • The feature registry
    • Rewrite handlers
    • Registering rewrite handlers
    • Editor widgets
    • Editor plugins
    • Format converters
  • Extending the Draftail Editor
    • Creating new inline styles
    • Creating new blocks
    • Creating new entities
    • Integration of the Draftail widgets
  • Extending the Hallo Editor
    • Whitelisting rich text elements
  • Adding custom bulk actions
    • Registering a custom bulk action
    • Adding bulk actions to the page explorer
    • Adding bulk actions to the Images listing
    • Adding bulk actions to the documents listing
    • Adding bulk actions to the user listing
  • Previous How to use a redirect with Form builder to prevent double submission
  • Next Creating admin views

© 2014-present Torchbox Ltd and individual contributors.
All rights are reserved.
Licensed under the BSD License.
https://docs.wagtail.org/en/v2.16.3/extending/index.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API