From 3ef31eda0ffa709a6aa83f046553e24b6683eb0a Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Sat, 22 Aug 2020 09:19:01 +0200 Subject: [PATCH] Added OSM map to place_detail view and template. --- lostplaces/lostplaces_app/templates/place/place_detail.html | 5 +++++ lostplaces/lostplaces_app/views.py | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lostplaces/lostplaces_app/templates/place/place_detail.html b/lostplaces/lostplaces_app/templates/place/place_detail.html index 71ce78f..01edddf 100644 --- a/lostplaces/lostplaces_app/templates/place/place_detail.html +++ b/lostplaces/lostplaces_app/templates/place/place_detail.html @@ -1,5 +1,9 @@ {% extends 'global.html'%} {% load static %} +{% block additional_head %} + + +{% endblock additional_head %} {% load thumbnail %} {% block title %}{{place.name}}{% endblock %} @@ -27,6 +31,7 @@

Map-Links

+ {% include 'partials/osm_map.html' %}