Fix #1416 -- Add canonical geodata field (#1458)

* Fix #1416 -- Add canonical geodata field for events and subevents

* Add optional geocoding through OpenCageData

* Fix markup everywhere

* Add Leaflet map to geo coordinates

* Fix tests, add credits

* Fix spelling
This commit is contained in:
Raphael Michel
2019-10-21 13:07:35 +02:00
committed by GitHub
parent 19b10e3ca4
commit 27538d220e
30 changed files with 1098 additions and 9 deletions

View File

@@ -69,6 +69,8 @@ TEST_EVENT_RES = {
"presale_start": None,
"presale_end": None,
"location": None,
"geo_lat": None,
"geo_lon": None,
"slug": "dummy",
"has_subevents": False,
"seating_plan": None,

View File

@@ -79,6 +79,8 @@ TEST_SUBEVENT_RES = {
'id': 1,
'variation_price_overrides': [],
'location': None,
"geo_lat": None,
"geo_lon": None,
'is_public': True,
'item_price_overrides': [],
'meta_data': {'type': 'Workshop'}