- return render_to_response('pdcounter/book_stub_detail.html', locals(),
- context_instance=RequestContext(request))
+ return render_to_response('pdcounter/book_stub_detail.html', {
+ 'book': book,
+ 'pd_counter': pd_counter,
+ 'form': form,
+ }, context_instance=RequestContext(request))