You can do this without a wrapper -- your url entry was close:

(r'^tag/(?P<slug>[-\w]+)/$','django.views.generic.list_detail.object_detail',
dict(queryset=Tag.objects.all(), template_object_name='tag',
slug_field='url')),

and you'll get a list in /templates/tags/tag_detail.html called
post_set:

        <h2>posts matching tag: "{{ tag.name }}"</h2>
        <ul class="article-list">
                {% for object in tag.post_set.all %}
               <li>{{ object.title }}</li>
                {% endfor %}
        </ul>

Nate.
--
http://clixel.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to