layers Introducing Unfold components - Pre-made HTML blocks in Django admin for custom dashboards arrow_forward

Unfold @action decorator

Unfold also uses custom @action decorator, supporting 2 more parameters in comparison to base @action decorator:

  • url_path: Action path name, used to override the path under which the action will be available (if not provided, URL path will be generated by Unfold)
  • attrs: Dictionary of the additional attributes added to the <a> element, used for e.g. opening action in new tab ({"target": "_blank"})

Be first to know about new features and updates

Each time something new happens in Unfold, we'll send you a newsletter.

© 2023 - 2024 Created by unfoldadmin.com. All rights reserved.