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

rhblind / drf-haystack / 262 / 4
92%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v1.8.10
DEFAULT BRANCH: master
Ran 18 Aug 2017 09:23PM UTC
Files 10
Run time 1s
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

18 Aug 2017 09:21PM UTC coverage: 92.235%. Remained the same
DJANGO_VERSION=">=1.8,<1.9"

push

travis-ci

rhblind
Clarify serializer example (#108)

(AN: my misinterpretation of this line cost me at least 4 hours in debugging time. I'd love to spare others from my fate!)

By calling the serializer PersonSerializer, there's an implicit assumption made by the user that this is the same serializer that should govern the list/detail views (if they exist) of the Person model, but this clearly isn't the case.

By changing the name of the serializer to PersonSearchSerializer (as a tutorial I found did), it becomes immediately clear that the Haystack serializer is not supposed to be the same serializer as the serializer for the model throughout the rest of the API.

199 of 244 branches covered (81.56%)

582 of 631 relevant lines covered (92.23%)

0.92 hits per line

Source Files on job 262.4 (DJANGO_VERSION=">=1.8,<1.9")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 262
  • Travis Job 262.4
  • 2093d572 on github
  • Prev Job for DJANGO_VERSION=">=1.8,<1.9" on develop (#250.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