From 60c03cad1ed16c96942ab3c9be7833e0ed4bbeb0 Mon Sep 17 00:00:00 2001 From: tsb1995 <47466105+tsb1995@users.noreply.github.com> Date: Thu, 24 Dec 2020 22:08:05 -0800 Subject: [PATCH] cleanup --- candalbjj/settings.py | 2 +- main/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/candalbjj/settings.py b/candalbjj/settings.py index d009fb8..bd5a0f4 100644 --- a/candalbjj/settings.py +++ b/candalbjj/settings.py @@ -32,7 +32,7 @@ MAPS_API_KEY = os.getenv('MAPS_API_KEY', MAPS_API_KEY_ALT) DEBUG = False # Allow heroku to host as well as local server -ALLOWED_HOSTS = ['candalbjj.herokuapp.com', '127.0.0.1:8000', '127.0.0.1'] +ALLOWED_HOSTS = ['candalbjj.herokuapp.com', '127.0.0.1:8000', '127.0.0.1', 'localhost'] # Application definition diff --git a/main/views.py b/main/views.py index 18ede42..776399f 100644 --- a/main/views.py +++ b/main/views.py @@ -9,7 +9,7 @@ from . GooglePlaces import * def index(request): # # For using google places api if JS fails - # api = GooglePlaces("AIzaSyDpJeiOSkitSPqzA-dHqCZnRkf7-_ceJUY") + # api = GooglePlaces("INSERT API KEY HERE") # fields = ['name', 'website', 'rating', 'review'] # details = api.get_place_details("ChIJe-_o2Sgp3YARE02PnQhDX2A", fields) # print(details)