add comment to note model
update the pdf view to create the correct path to pdf media
update url routes with nicer .format()ing
simplify and future proof pdf specific template variables