cleanup
This commit is contained in:
parent
aa6abb4c6a
commit
60c03cad1e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue