问题
I have a conventional Wagtail Main Menu bar with one exception. One Menu entry points to a URL supported by a Django TemplateView. In the menu in Wagtail Admin, the menu item uses the custom URL instead of specifying an internal page. If I do a View Live from the Wagtail admin to the top level page then select the Django page, it works as expected. However, if I am somewhere within the site and click on the menu item, it generates a url that is the URL of the page I happen to be on with the Custom URL appended.
I'm concerned that there may be another setting or something that I need. I've read pretty much everything I can find (hooks, use_specific, q's on SO, ..) but am either not understanding something or maybe there is a bug.
I've tried to step through the flow of the templates generating the page, but the logic is pretty deep and I got lost. If someone can tell me where I might look to figure out the problem, I'd really appreciate it.
--Don
来源:https://stackoverflow.com/questions/55016463/wagtail-menu-generates-incorrect-custom-url