Skip to content

Commit

Permalink
final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam14300 committed Apr 30, 2021
1 parent 0915e01 commit af15580
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VaccineDistribution/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'
TIME_ZONE = 'Asia/Kolkata'

USE_I18N = True

Expand Down
Binary file modified db.sqlite3
Binary file not shown.
4 changes: 2 additions & 2 deletions demo/helpers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .models import *
from collections import Counter
from datetime import timedelta, datetime
import copy, csv
import copy, csv, random
from VaccineDistribution.settings import DEBUG


Expand Down Expand Up @@ -122,7 +122,7 @@ def GetStateWiseDistribution():
state = States.objects.get(state_code=st)
ret.append({
'state_name' : state.name,
'population' : population[st],
'population' : population[st]*1000000 + random.randint(100001,1000000),
'active_case' : state.number_of_active_cases,
'number_of_people_vaccinated' : state.number_of_people_vaccinated,
'number_of_vaccine_available' : state.number_of_vaccines
Expand Down
2 changes: 1 addition & 1 deletion demo/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<footer class="footerClass">
<div class="footerText">
<span>&#169;</span>
Author : Team 5
Author : Shivam Bansal -- Aditya Morolia -- Sarthak Singh
</div>
</footer>
</body>

0 comments on commit af15580

Please sign in to comment.