Example #1
0
 def pdf_url(self):
     if self.report_year is None or self.committee is None:
         return None
     # House records start May 1996
     if self.committee.committee_type == 'H' and self.report_year < 1996:
         return None
     # Senate records start May 2000
     elif self.committee.committee_type == 'S' and self.report_year < 2000:
         return None
     return utils.make_pdf_url(self.beginning_image_number)
Example #2
0
 def pdf_url(self):
     if self.report_year is None or self.report_year < 1993:
         return None
     return utils.make_pdf_url(self.beginning_image_number)