Re:Django 5.0 Is Released
by cdcarter on Monday December 04, 2023 @02:06PM
(#38521589)
I've been in the habit of replacing the default manager for my model with one with an annotated query set. that way, any Model.objects.all() call will have the computed fields.
I find this pretty easy to get used to and re-use. though I do admit I like them defined as actual model-fields with verbose names etc...
I find this pretty easy to get used to and re-use. though I do admit I like them defined as actual model-fields with verbose names etc...