Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/details reviews rate star #33

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open
1 change: 1 addition & 0 deletions assets/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Title } from '@angular/platform-browser';
styleUrls: ['./app.component.css'],
providers: [AuthService]
})

export class AppComponent implements OnInit {
usersForm;
errors;
Expand Down
1 change: 0 additions & 1 deletion details/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def post(self,request,*args,**kwargs):


def get_average_rating(self,list_values,key):

for rating in list_values:
self.sum_values += rating[key]
return self.sum_values/len(list_values)
Expand Down