Hi,
I don't know much of Django, just the basics I learned from the official django tutorial and have been working on a project of mine as way to learn and master Django.
I have two models:
Model name - review:
name
points
review
category
manufacturer
Model name - average:
overallAverage
screenAverage
serviceAverage
someCategoryAverage
....
...
....
In the first model, I am storing the review from the users through the forms
I want to create a function that on execution computes the averages per category and updates the grade corresponding to the category in second model. I know how to create the function and the QuerySet command to put data in fields but I am not able to figure out as to what should I do after that
TIA