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

openwisp / openwisp-utils / 25936214391

15 May 2026 06:29PM UTC coverage: 97.488% (+0.002%) from 97.486%
25936214391

push

github

nemesifier
[change] Added default uuid method to CopyableFieldsAdmin #328

``CopyableFieldsAdmin`` now ships with a default ``uuid()`` method that
returns ``obj.pk`` and has ``short_description`` set to ``'UUID'``.
This allows subclasses to use ``copyable_fields = ('uuid',)`` without
defining their own ``uuid`` method when their model uses a UUID primary key.

The ``uuid`` field is not automatically added to ``copyable_fields``,
that's still the developer's explicit decision.

Related to #328

3919 of 4020 relevant lines covered (97.49%)

13.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.06
/admin.py


Source Not Available

The file "admin.py" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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