Replace all instances of .extra() in QuerySets with annotations #3117
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Proposed Changes
There are several instances where
.extra()
is used to extend a QuerySet. These should be replaced with.annotate()
usingRawSQL
where necessary.Justification
.extra()
is planned for deprecation.The text was updated successfully, but these errors were encountered: