title: How do I add the request.slug to a generic class view?
body: <p>I'm having a hard time wrapping my head around this.</p>
  
  <p>I have a view that getts all my projects by a slug that is the tag. When I show the template, I want to include that tag in my template so that I can do something like: "Content in {{tag.name}}. But I'm having a hard time seeing my way clear. Any help would be appreciated.</p>
  
  <p>Here's my view:</p>
  
  <pre><code>class TagDetail(ListView):
      """ Get all projects for a tag """
  
      template_name = "projects/TagDetail.html"
  
      def get_queryset(self):
          tags = get_list_or_404(Project, tags__slug=self.kwargs['slug'], displayed=True)
          return tags
  
      @method_decorator(login_required)
      def dispatch(self, *args, **kwargs):
          return super(TagDetail, self).dispatch(*args, **kwargs)
  </code></pre>