How can I remove the dot that haystack returns so that I can use it for my image path
<p>I am using </p>

<pre><code>Django==1.9.4
django-haystack==2.4.1
django-taggit==0.18.0
Pillow==3.1.1
pysolr==3.4.0
pytz==2016.1
python 3.5
</code></pre>

<p>i just found out that the version of django I'm using isn't supported by haystack yet. So I can't use this</p>

<pre><code>results.object.image.url
</code></pre>

<p>for my src to display an image.</p>

<p>I have to do this </p>

<pre><code> results.image
</code></pre>

<p>but this displays</p>

<pre><code>./car.jpg
</code></pre>

<p>the work around I had was to do this</p>

<pre><code>media/{{result.image}}
</code></pre>

<p>but that displays</p>

<pre><code>media/./car.jpg
</code></pre>

<p>I want to remove the dot</p>

<p>so it will display like this</p>

<pre><code>media/car.jpg
</code></pre>

<p>tried this as well</p>

<pre><code>{{result.image |slice:":1" }}
</code></pre>

<p>but that makes everything disappear except for the dot</p>

<p>How can I do this? any guidance advice or tutorials to look at are all welcome</p>