diff --git a/blechreiz/settings.py b/blechreiz/settings.py
index b7dc72a..c8390af 100644
--- a/blechreiz/settings.py
+++ b/blechreiz/settings.py
@@ -37,7 +37,7 @@ EMAIL_USE_TLS = False
# Hosts/domain names that are valid for this site; required if DEBUG is False
-ALLOWED_HOSTS = ["localhost", "127.0.0.1", ".blechreiz.com", ".bauer.technology"]
+ALLOWED_HOSTS = ["localhost", "127.0.0.1", ".blechreiz.com", ".bauer.technology", ".bauer.tech"]
# Local time zone for this installation.
TIME_ZONE = "Europe/Berlin"
@@ -119,6 +119,7 @@ TEMPLATES = [
"django.template.context_processors.media",
"django.template.context_processors.static",
"sekizai.context_processors.sekizai",
+ "blechreiz.context_processors.google_maps",
],
},
},
@@ -170,6 +171,12 @@ GCAL_COUPLING = {
}
+# Google Maps API Key
+# Get your API key from https://console.cloud.google.com/apis/credentials
+# Enable the Maps JavaScript API and Geocoding API
+GOOGLE_MAPS_API_KEY = "AIzaSyCf9Lm5ckjmVd08scTOd7fB1dC_UCoumKg"
+
+
# Crispy Forms configuration
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
CRISPY_TEMPLATE_PACK = "bootstrap5"
diff --git a/eventplanner/templates/eventplanner/routeToEventMap.inc.html b/eventplanner/templates/eventplanner/routeToEventMap.inc.html
index 52d6c05..859606e 100644
--- a/eventplanner/templates/eventplanner/routeToEventMap.inc.html
+++ b/eventplanner/templates/eventplanner/routeToEventMap.inc.html
@@ -9,7 +9,7 @@ object: {{route.event}} {% endcomment %} {% load sekizai_tags static %}
/>{% endaddtoblock %} {% addtoblock "js" strip %}
{% endaddtoblock %} {% addtoblock "js" %}