Mercurial > public > sg101
diff bandmap/admin.py @ 991:4aadaf3bc234
Added SITE_SCHEME setting.
Configure site scheme to be either http or https based on SITE_SCHEME setting.
Updated code to use it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 Nov 2015 15:56:05 -0600 |
parents | 09ed84a7394c |
children |
line wrap: on
line diff
--- a/bandmap/admin.py Sat Oct 31 17:36:31 2015 -0500 +++ b/bandmap/admin.py Sun Nov 01 15:56:05 2015 -0600 @@ -49,7 +49,7 @@ data. """ - base_url = "http://maps.googleapis.com/maps/api/geocode/json?address=%s" + base_url = "https://maps.googleapis.com/maps/api/geocode/json?address=%s" ok_cnt = 0 for band in qs: url = base_url % urllib.quote_plus(band.location)