m2m through : accessing intermediate table from templates
===

I've got a view that can access the extra data in a m2m through table.  But how can I get that into my template?

    def category_detail(request, pk):
        category = models.Category.objects.select_related().get(pk=pk)
        entries  = category.entry.order_by('-temp_sort_order').filter(temp_sort_order__gte=0)
        for entry in entries:
            assert isinstance(entry, models.Entry)
            ce = models.CategoryEntry.objects.get(entry=entry, category=category)
            pprint('Show wiki as a test: ' + ce.wiki)
        ....


    class Category(models.Model):
        title           = models.CharField(max_length=1024,null=True,blank=True)
        entry           = models.ManyToManyField(Entry,null=True,blank=True,
                                                 related_name='category_entry',
                                                 through='CategoryEntry',
                                                 )

Following https://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships
and using '`for entry in category.category_entry_set.all`' gives 'Category' object has no attribute 'category_entry_set'