title: Trouble using "Slug" in Django DetailView
body: <p><strong>models.py</strong></p>
  
  <pre><code>class Tag(models.Model):
      name = models.CharField(max_length=64, unique=True)     
      slug = models.SlugField(max_length=255, unique=True)
  
      def save(self, *args, **kwargs):
          self.slug = slugify(self.name)
          super(Tag, self).save(*args, **kwargs)
  </code></pre>
  
  <p><br></p>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>url(r'^tag/(?P&lt;slug&gt;[A-Za-z0-9_\-]+)/$', TagDetailView.as_view(), name='tag_detail'),      
  </code></pre>
  
  <p><br></p>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>class TagDetailView(DetailView):
      template_name = 'tag_detail_page.html'
      context_object_name = 'tag'
  </code></pre>
  
  <p><br></p>
  
  <p>Well, I thought this would work without any problem, because Django's generic DetailView will look for "slug" or "pk" to fetch its object. However, navigating to "localhost/tag/RandomTag" gives me an error:</p>
  
  <p><strong>error:</strong></p>
  
  <pre><code>ImproperlyConfigured at /tag/RandomTag/
  
  TagDetailView is missing a queryset. Define TagDetailView.model, TagDetailView.queryset, or override TagDetailView.get_queryset().
  </code></pre>
  
  <p><br>
  Does anyone know why this is happening...???</p>
  
  <p>Thanks!!!</p>