Most voted "django-annotate" questions
2 questions
Sort by count of
-
1
votes0
answers88
viewsUsing extra field in Annotate Django
I’m trying to add a column called today in a Model with the .extra(), to work on a annotate. I’m not finding it. He’s not finding the field. duration = ExpressionWrapper(F('today') - F('pub_date'),…
-
1
votes1
answer119
viewsGrouping values in Django
I’m having a little trouble grouping some information from separate models. For example: I have 3 models, a call Category, another call Group and another call Tools. These tables will get the name…