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
How would I create wagtailmenus menu programatically (that is not through the wagtail admin). If we assume that all the necessary pages exist in the database then what would this look like?
For instance I imagine we would create the main menu record and then add all the main menu item records to it somehow and pass in the relevant pages to the constructor. However even though I can find the model for menu items I haven't managed to find the model for the main top record menu itself. Any idea on how I would go about this?
The text was updated successfully, but these errors were encountered:
How would I create wagtailmenus menu programatically (that is not through the wagtail admin). If we assume that all the necessary pages exist in the database then what would this look like?
For instance I imagine we would create the main menu record and then add all the main menu item records to it somehow and pass in the relevant pages to the constructor. However even though I can find the model for menu items I haven't managed to find the model for the main top record menu itself. Any idea on how I would go about this?
The text was updated successfully, but these errors were encountered: