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

ic-labs / django-icekit / 785 / 1
73%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: agsa/master
DEFAULT BRANCH: develop
Ran 01 May 2017 02:38AM UTC
Files 292
Run time 12s
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

01 May 2017 02:20AM UTC coverage: 70.999% (-0.5%) from 71.511%
785.1

push

travis-ci

jmurty
#213 Add easy write for API serializers

The `WritableSerializerHelperMixin` helper/mixin class is
now available to handle writable related fields in a general
way in a serializer, without requiring custom code in every
case where a writable item has writable relationships.

The `WritableSerializerHelperMixin` is a renamed version of
the prior `ModelSubSerializerParentMixin` and still handles
`ModelSubSerializer` fields transparently, no extra work
required.

For other related fields based on the standard
`ModelSerializer` you can now add field-specific settings
as `Meta.writable_related_fields` to map field names to
`WritableRelatedFieldSettings` objects that define how to
look up a related model instance, and whether to permit
write operations to create or update related instances.

NOTE: This commit adds a dependency on the `attrs` library
to make definition of a small class easier, and because I
want to use it in general.

NOTE 2: This is a first pass at handling a complex set of
situations, which should really be handled in the DRF base
library but do not seem to be. Consider this implementation
to be experimental for now, and it is definitely incomplete.

4458 of 6279 relevant lines covered (71.0%)

0.71 hits per line

Source Files on job 785.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 785
  • Travis Job 785.1
  • 815c6765 on github
  • Prev Job for on 213-add-collections-api (#776.1)
  • Next Job for on 213-add-collections-api (#786.1)
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