Switch from Field.get_cache_name to Field.cache_name

Review Request #14766 — Created Jan. 8, 2026 and updated — Latest diff uploaded

Information

Djblets
release-6.x

Reviewers

Django model fields have for a long time had both a get_cache_name
method and a cache_name property. The method was deprecated in Django
5.1, and will be fully removed in 6.0. This change moves us over to
using the property.

Ran unit tests and no longer saw a warning.

Commits

Files