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

moorinteractive / wagtail-bakery / 96
73%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2018 11:16AM UTC
Jobs 8
Files 48
Run time 3min
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

pending completion
96

Pull #23

travis-ci

web-flow
Add views for rendering a static API

This implements three new views for rendering pages to static JSON files
using Wagtail's API module:

- ``PagesAPIDetailView`` renders detail pages at
``/api/pages/detail/{id}.json``
- ``PagesAPIListingView`` renders a full page listing at
``/api/pages/{page_num}.json``. Each page contains 20 results.
- ``TypedPagesAPIListingView`` renders a separate listing for each page
type at ``/api/pages/{app_label}.{model_name}/{page_num}.json``. Unlike
the standard listing view, this also includes all specific fields on that
page type.

All rendering is done through Wagtail's v2 API module so any
configuration the site has for that will be used by this static
renderer.
Pull Request #23: Add views for rendering a static API

760 of 1704 relevant lines covered (44.6%)

0.45 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
.tox/py36-django18/lib/python3.6/site-packages/wagtailbakery/models.py
2
100.0
.tox/py36-django110/lib/python3.6/site-packages/wagtailbakery/models.py
2
100.0
.tox/py35-django110/lib/python3.5/site-packages/wagtailbakery/models.py
2
100.0
.tox/py36-django19/lib/python3.6/site-packages/wagtailbakery/models.py
2
100.0
.tox/py35-django19/lib/python3.5/site-packages/wagtailbakery/models.py
2
100.0
.tox/py35-django18/lib/python3.5/site-packages/wagtailbakery/models.py
2
100.0
.tox/py27-django110/lib/python2.7/site-packages/wagtailbakery/models.py
2
100.0
.tox/py27-django18/lib/python2.7/site-packages/wagtailbakery/models.py
Jobs
ID Job ID Ran Files Coverage
1 96.1 (TOXENV=py27-django18) 12 Jan 2018 11:16AM UTC 0
44.6
Travis Job 96.1
3 96.3 (TOXENV=py27-django110) 12 Jan 2018 11:16AM UTC 0
44.6
Travis Job 96.3
5 96.5 (TOXENV=py35-django18) 12 Jan 2018 11:16AM UTC 0
44.6
Travis Job 96.5
6 96.6 (TOXENV=py35-django19) 12 Jan 2018 11:17AM UTC 0
44.6
Travis Job 96.6
7 96.7 (TOXENV=py35-django110) 12 Jan 2018 11:18AM UTC 0
44.6
Travis Job 96.7
9 96.9 (TOXENV=py36-django18) 12 Jan 2018 11:19AM UTC 0
44.6
Travis Job 96.9
10 96.10 (TOXENV=py36-django19) 12 Jan 2018 11:18AM UTC 0
44.6
Travis Job 96.10
11 96.11 (TOXENV=py36-django110) 12 Jan 2018 11:19AM UTC 0
44.6
Travis Job 96.11
Source Files on build 96
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #96
  • Pull Request #23
  • PR Base - master (#95)
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