tags = models.Tag.objects.usage_for_model(models.Book, counts=True, extra={'where': [extra_where]})
fragment_tags = models.Tag.objects.usage_for_model(models.Fragment, counts=True,
tags = models.Tag.objects.usage_for_model(models.Book, counts=True, extra={'where': [extra_where]})
fragment_tags = models.Tag.objects.usage_for_model(models.Fragment, counts=True,
return render_to_response('catalogue/book_detail.html', locals(),
context_instance=RequestContext(request))
return render_to_response('catalogue/book_detail.html', locals(),
context_instance=RequestContext(request))