You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated FlatMenu listing in CMS to only show site column and filters if menus are defined for more than one site.
Added the fall_back_to_default_site_menus option to the flat_menu tag, to allow flat menus defined for the default site to be used as fall-backs, in cases where the 'current' site doesn't have its own menus set up with the specified handle.
Added a custom ValidationError to FlatMenu's clean() method that better handles the unique_together rule applied to site and handle fields.
Added the ability to copy/duplicate existing FlatMenu objects between sites (or to the same site with a different handle) via Wagtail's admin area. The 'Copy' button appears in the listing for anyone with 'add' permission, and the view allows the user to make changes before anything is saved.
Apply active classes to menu items that link to custom URLs (if request.path and link_url are exact matches).
Added a handle to MenuItem model to provide a string which can be used to do specific matching of menu items in the template. (Tim Leguijt)
Upgrade considerations:
You'll need to run django manage.py migrate wagtailmenus after pulling down this latest version, in order to add the new 'handle' field for MainMenuItem and FlatMenuItem models.