You can easily add a field which count a specific related model from a reverse ForeignKey relation or a ManyToMany relation, but ordering this field could not be easy from the first time. Here we will see how to use annotate to add this field and ho...
blog.mounirmesselmeni.de1 min read
No responses yet.