diff --git a/web_app_django/tweet/views.py b/web_app_django/tweet/views.py index 49764a0c54f0f4a7f41dca79c185a4112b3e5032..26af4560d7992d41369cd13f8870b086af44921f 100644 --- a/web_app_django/tweet/views.py +++ b/web_app_django/tweet/views.py @@ -69,7 +69,7 @@ def index(request): #print(doc.value[element]) countDomesitc += doc.value[element] countDomesitc += len(countId) - countDomestic = (countDomestic/7410000)*100 + countDomesitc = (countDomesitc/7410000)*100 print(countDomesitc) context['NswCount'] = countDomesitc @@ -93,8 +93,9 @@ def index(request): continue else: count += properties[element] + + count = (count/5740000)*100 print(count) - cout = (cout/5740000)*100 context['VicCount'] = count docsSa = SERVER['aurin_sa'] countForSa = 0