title: NoReverseMatch when using {% url %} in Django
body: <p>I am following a book (Practical Django Projects 2nd Ed.), and I have run across an error that I cannot figure out.</p>
  
  <p>I get this error:
  TemplateSyntaxError at /weblog/</p>
  
  <blockquote>
    <p>Caught NoReverseMatch while rendering: Reverse for 'coltrane_category_list' with arguments '()' and keyword arguments '{}' not found.</p>
  </blockquote>
  
  <p>Here is the code in my template that uses {% url %}:</p>
  
  <pre><code>    &lt;li id="main-nav-entries"&gt;
          &lt;a href="{% url coltrane_entry_archive_index %}"&gt;Entries&lt;/a&gt;
      &lt;/li&gt;
  </code></pre>
  
  <p>Here is my URL configuration:</p>
  
  <pre><code>entry_info_dict = {
      'queryset': Entry.objects.all(),
      'date_field': 'pub_date',
  }
  
  urlpatterns = patterns('django.views.generic.date_based',
      (r'^$', 'archive_index', entry_info_dict, 'coltrane_entry_archive_index'),
      (r'^(?P&lt;year&gt;\d{4})/$', 'archive_year', entry_info_dict, 'coltrane_entry_archive_year'),
      (r'^(?P&lt;year&gt;\d{4})/(?P&lt;month&gt;\w{3})/$', 'archive_month', entry_info_dict, 'coltrane_entry_archive_month'),
      (r'^(?P&lt;year&gt;\d{4})/(?P&lt;month&gt;\w{3})/(?P&lt;day&gt;\d{2})/$', 'archive_day', entry_info_dict, 'coltrane_entry_archive_day'),
      (r'^(?P&lt;year&gt;\d{4})/(?P&lt;month&gt;\w{3})/(?P&lt;day&gt;\d{2})/(?P&lt;slug&gt;[-\w]+)/$', 'object_detail', entry_info_dict, 'coltrane_entry_detail'),
  )
  </code></pre>
  
  <p>What does the error mean? Am I not giving it enough arguments? How does the {% url %} work? From my understanding, it will look at the URL configuration and find the matching keywords and give back a URL based on the matching keyword in the URL configuration.</p>