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

NextGenContributions / django-ninja-crudl / 21396461202
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: renovate/actions-checkout-6.x
DEFAULT BRANCH: main
Ran 27 Jan 2026 12:13PM UTC
Jobs 1
Files 68
Run time 1min
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

27 Jan 2026 12:04PM UTC coverage: 95.104% (+0.8%) from 94.277%
21396461202

push

github

web-flow
feat(#1): Soft delete (#211)

* chore(deps): remove taplo python pkg in favor of taplo binary from python-dev-image

* chore(pyright): remove reportShadowedImports config

* chore(deps): add ty and rust-just to dev dependencies

* feat: add Justfile for updating test migrations

* feat: update VS Code extensions in devcontainer configuration

* chore: update vscode configs

* refactor(BREAKING_CHANGE): implement delete options for CRUDL configuration

* feat: implement soft-delete functionality with SoftDeleteMixin

* feat: add SoftDeletePublisherCrudl config to test soft-delete functionality

* feat: enhance test models with soft delete support and type hinting improvements

* chore: update test migrations

* feat: add tests for soft-delete functionality across various resource scenarios

* feat: update README to include soft-delete options and implementation details

* chore: correct loggers

* fix: add unique delete op ID for SoftDeletePublisherCrudl

* chore: update Justfile migration command

* feat: enhance delete endpoint to handle conflict errors with ProtectedError

* feat: update ForeignKey on BookCopy model to use PROTECT on delete

* feat: add test for soft-delete behavior with protected related resources

* feat: add 409 Conflict response to delete operation in API fixture

* feat: handle soft delete with RESTRICT constraints

* chore: delete endpoint to handle general IntegrityError

* style: format code with Ruff Formatter

This commit fixes the style issues introduced in cedae94 according to the output
from Ruff Formatter.

Details: https://github.com/NextGenContributions/django-ninja-crudl/pull/211

* chore: Minor tweaks

* feat: Implement custom User model with soft delete functionality. Introduce also ContactPerson model for additional tests

* feat: Add SoftDeleteUserCrudl for User model to support soft delete

* fix: Broken tests due to new custom User model

* feat: Refactor soft delete mixin and support handling SET, SET_DEFAULT... (continued)

27 of 27 branches covered (100.0%)

Branch coverage included in aggregate %.

355 of 359 new or added lines in 14 files covered. (98.89%)

31 existing lines in 4 files now uncovered.

3120 of 3282 relevant lines covered (95.06%)

0.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.16
0.69% tests/test_django/app/models.py
1
0.0
0.0% tests/test_django/settings.py
2
98.9
tests/test_soft_delete.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.13
3.22% tests/test_django/urls.py
4
97.2
0.65% test_django/app/models.py
9
93.71
2.72% test_django/urls.py
17
0.0
0.0% test_django/settings.py
Jobs
ID Job ID Ran Files Coverage
1 21396461202.1 27 Jan 2026 12:13PM UTC 68
95.1
GitHub Action Run
Source Files on build 21396461202
  • Tree
  • List 68
  • Changed 28
  • Source Changed 14
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21396461202
  • 58927b87 on github
  • Prev Build on main (#18646961190)
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