Fetch thumbnails from wikidata.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_text.html
index 27601d8..e10bc96 100644 (file)
   {% localize off %}
   <script type="application/json" id="interesting-references">
    {
-       {% for ref in book.reference_set.all %}
+       {% for ref in book.references %}
        {% if ref.entity.is_interesting %}
        "{{ ref.entity.uri }}": {
            {% if ref.entity.lat and ref.entity.lon %}