'NotImplementedType' object is not iterable django-easy-pdf
<p>I use django-easy-pdf library for my project. When I try to set custom cyrillic font I have </p>

<blockquote>
  <p>TypeError: 'NotImplementedType' object is not iterable</p>
</blockquote>

<p>I`ve seen where the error appear and here is what I got</p>

<p><a href="http://i.stack.imgur.com/04jnk.png" rel="nofollow"><img src="http://i.stack.imgur.com/04jnk.png" alt="Error debug"></a></p>

<p>Looks like I have a problem with <strong>src url</strong>, but I have no idea how to solve this issue. I`ve tried change <em>src: url()</em> different ways (manual input,{% static 'path' %}, etc) , but it is not working. I really stuck.</p>

<p>Django = 1.10, Python = 3.4.3</p>

<p>Here`s my template. </p>

<pre><code>{% extends "easy_pdf/base.html" %}
{% load staticfiles %}

{% block extra_style %}
    &lt;style type="text/css"&gt;
    @font-face {
        font-family: Palatino Linotype; src: url({% static 'automobiles/fonts/bold.ttf' %});
    }
    body{
        font-family: "Palatino Linotype", Arial, sans-serif;
        color: #333333;
    }
    &lt;/style&gt;
{% endblock extra_style %}

{% block content %}
    &lt;div class="container"&gt;
        &lt;h1&gt;PYTHON3 RULES&lt;/h1&gt;
        &lt;p&gt;Ð­ÑÐ¾ Ð´Ð¾Ð»Ð¶Ð½Ð¾ ÑÐ°Ð±Ð¾ÑÐ°ÑÑ&lt;/p&gt;
        &lt;h3&gt;ÐÐ¾ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐºÐµ ÑÑÐ¾-ÑÐ¾ Ð½Ðµ Ð½ÑÐ°Ð²Ð¸ÑÑÑ&lt;/h3&gt;
    &lt;/div&gt;
{% endblock content %}
</code></pre>

<p><em>Project structure:</em></p>

<p><a href="http://i.stack.imgur.com/tQ5zY.png" rel="nofollow"><img src="http://i.stack.imgur.com/tQ5zY.png" alt="Project structure"></a></p>

<p><em>settings.py</em></p>

<p><a href="http://i.stack.imgur.com/XmLGW.png" rel="nofollow"><img src="http://i.stack.imgur.com/XmLGW.png" alt="setting.py"></a></p>

<p>STATIC_ROOT should be os.path.join(PROJECT_ROOT, 'static'). I am assuming automobiles is the main project. </p>

python django python-3.x pdf django-staticfiles