is there a reason why you went about generating a pdf from canvas from report lab rather than from a django template? Is that stuff under a licensing restriction?