Please have a look at the aggregation docs and see if you can figure it out:
https://docs.djangoproject.com/en/stable/topics/db/aggregation/
On Friday, October 2, 2015 at 2:46:39 AM UTC-4, Bhanu Kathuria wrote:
>
> I have attached my model files and template files. Please tell how can i
> find
I have attached my model files and template files. Please tell how can i
find avg of rating for a particular college. In current format it is
displaying rating of all colleges correctly.
Along with this I also want to add avg ratings for college.
I have used foriegn key in this.
--
You
2 matches
Mail list logo