diff --git a/procat2/models.py b/procat2/models.py index 9634a84..0e0fc3b 100644 --- a/procat2/models.py +++ b/procat2/models.py @@ -75,7 +75,8 @@ class Catalog(models.Model): def pdf_name(self): - pdf = "{}-{}-{}".format(self.season.id, self.name, self.id) + # NOTE: must match what the builder writes! + pdf = "{}-{}".format(self.name, self.id) pdf = re.sub(r'\s+', r'_', pdf) pdf = re.sub(r'[^\w\-]', r'', pdf) pdf += '.pdf'