Skip to content

Commit 59a86a9

Browse files
author
Ubuntu
committed
removed my API key from views.py
1 parent af4f13a commit 59a86a9

File tree

1 file changed

+1
-1
lines changed
  • Weather-Application-Django/mainapp

1 file changed

+1
-1
lines changed

Weather-Application-Django/mainapp/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def index(request):
1212
BASE_URL ='http://api.weatherapi.com/v1'
1313

1414
# 2. After generating your API key, copy it and then paste it into the "API_KEY" variable as given below:
15-
API_KEY = '6e747923577648d3bbd02035242510' # ***************
15+
API_KEY = '' # ***************
1616

1717
if request.method=='POST':
1818
city=request.POST.get('city').lower()

0 commit comments

Comments
 (0)