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

moorinteractive / wagtail-bakery / 96 / 7
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2018 11:18AM UTC
Files 6
Run time 0s
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

12 Jan 2018 11:14AM UTC coverage: 44.601% (-43.5%) from 88.073%
TOXENV=py35-django110

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

95 of 213 relevant lines covered (44.6%)

0.45 hits per line

Source Files on job 96.7 (TOXENV=py35-django110)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 96
  • Travis Job 96.7
  • 7b165baf on github
  • Prev Job for TOXENV=py35-django110 on master (#95.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