• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rkhleics / wagtailmenus / 75 / 7
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 22 Sep 2016 10:36AM UTC
Files 40
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Sep 2016 10:32AM UTC coverage: 99.636% (+0.01%) from 99.622%
TOXENV=py35-dj110-wt16

push

travis-ci

web-flow
Add support for a `has_submenu_items` methods on custom page types (#35)

* Tidied managers.py and fetch 'link_page__content_type' for menu items
* Accept 'original_menu_tag' in 'prime_menu_items' and use it an attempt to find and call 'has_submenu_items' method on a specific page object, before resorting to the default 'count children in menu' check
* Added the 'has_submenu_items' method to `MenuPage` so there's something there to extend. It's slightly worse performance-wise, but it makes things far easier to understand, override and explain with examples.
* When priming menu items, always replace 'MenuItem.link_page' with the page object we have after other operations. If we can return a specific page with no additional overhead, we should
* Added new section to `README.md` to discuss `modify_submenu_items` and `has_submenu_items` customisation in more depth

821 of 824 relevant lines covered (99.64%)

1.0 hits per line

Source Files on job 75.7 (TOXENV=py35-dj110-wt16)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 75
  • Travis Job 75.7
  • c627e61b on github
  • Prev Job for TOXENV=py35-dj110-wt16 on master (#68.7)
  • Next Job for TOXENV=py35-dj110-wt16 on master (#76.7)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc