title: Django : NoReverseMatch
body: <p>I'm having issues with indexing inside reference point in url. I have quite complicated nested object of two raw queries and string inside tuple inside list.</p>
  <p>Point is that referencing sometimes works and sometimes does not and I don't really get why.</p>
  <p>This piece of html works really well.</p>
  <pre><code>&lt;td&gt;&lt;a href=&quot;{% url 'company_info' pair.0.0.0.ticker %}&quot;&gt;{{pair.0.0.0.ticker}}&lt;/a&gt;&lt;/td&gt;
  </code></pre>
  <p>But this one fails</p>
  <pre><code>&lt;td&gt;&lt;a href=&quot;{% url 'company_info' pair.1.0.0.ticker %}&quot;&gt;{{pair.1.0.0.ticker}}&lt;/a&gt;&lt;/td&gt;
  </code></pre>
  <p>What's more django properly renders this :</p>
  <pre><code>&lt;td&gt;{{pair.1.0.0.ticker}}&lt;/td&gt;
  </code></pre>
  <p>But has problem with this one :</p>
  <pre><code>&lt;a href=&quot;{% url 'company_info' pair.1.0.0.ticker %}&quot;&gt;
  </code></pre>
  <p>Which really indexes the same object. So in one place its ok and in another it fails.</p>
  <p>What might be causing that? Sorry if its a little bit messy explanation but html its not really my thing and I might lack some vocabulary.</p>