Skip to content

Commit

Permalink
Merge pull request #18 from sorushbin/exercise11
Browse files Browse the repository at this point in the history
update todo views
  • Loading branch information
mahmoudseifi authored May 30, 2024
2 parents e2c4207 + 7308657 commit 4958107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/todo/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TaskBaseView:
model = Task

def get_weather_data(self):
city_name = "tehran"
city_name = "mashhad"
api_key = "e1176c2224faec7d17373814500b2fa7"
cache_key = f"weather_data_{city_name}"
weather_data = cache.get(cache_key)
Expand Down

0 comments on commit 4958107

Please sign in to comment.