Use the .review you've defined as related name. The _set is when you don't
have a related name.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+uns
9:25 AM Melissa Malala
wrote:
> Getting an error that says "Project object has no attribute review_set"
> when trying to get the mean of ratings using Numpy. HTML looks something
> like this, what could be the problem? Please have a look below and let us
> know what
Getting an error that says "Project object has no attribute review_set"
when trying to get the mean of ratings using Numpy. HTML looks something
like this, what could be the problem? Please have a look below and let us
know what you think:
{{ project.review.count
3 matches
Mail list logo