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

ministryofjustice / cla_backend / 15107
82%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2023 06:36AM UTC
Jobs 1
Files 243
Run time 3s
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
15107

push

circle-ci

web-flow
LGA-2329 Deploy Django rest framework upgrade 2.4.8 to 3.2.5 (#905)

* Upgrade Django rest to 3.0.5. Addressing new changes for Writeable and updating them to be Field. Providing querysets for SerializerMethodField.

* Adding queryset to SlugRelatedField

* Updates to field_mapping.copy

* Updating requirments-base.in for cla_common to point at new branch

* Reverting core serializer back to prevouis state before lifitng and shifting MoneyIntervalModelSerializerMixin class

* Resolving missing attrubite for feild_mapping.copy() issue

* Can no longer handle nested serializers automatically. Must declare create explicitly

* a field that is not writeable does not require a queryset argument, these have been removed

* updated class EligibilityCheckSerializer as no longer needs allow_add_remove and needed an explicit queryset

* updated class ReasonfForContactingCategorySerializer as no longer needs allow_add_remove and needed an explicit queryset

* removed allow_add_remove keyword from EligibilityCheckSerializer which is no longer allowed in DRF >3.0. Have added a create method for the base classes

* LGA-1773-updated viewsets model attribute to queryset attribute as required by DRF 3.0

* LGA-1773-added in querysets for WriteableFields in call_centre and complaints serializers

* LGA-1773-updated mixin so points at query_set rather than model which has been removed from Viewset. Also updated drf-extensions to 0.2.8

* LGA-1773 DRF 3.0 removes option to pass query_set to get_object(). Written code to override this for NestedGenericModelMIxin. Just legalaid cases view so far.

* LGA-1773 changing RelativePreviousPageField and RelativeNextPageField to be serializers.ReadOnlyField instead of serializers.Field as per DRF 3.0 changes

* LGA-1773-removed exclude from CaseSerializerBase as DRF 3.0 says cannot declare fields and exclude

* LGA-1773 DRF 3.0 no source field required when source field matches definition, remove ... (continued)

735 of 735 new or added lines in 31 files covered. (100.0%)

7312 of 8846 relevant lines covered (82.66%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15107.1 14 Jun 2023 06:36AM UTC 0
82.66
Source Files on build 15107
Detailed source file information is not available for this build.
  • Back to Repo
  • e39553df on github
  • Prev Build on master (#15017)
  • Next Build on master (#15145)
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