From b22828534492f42d9af7bc7e840d5fb3986192d2 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Mon, 8 Nov 2021 14:31:10 +0100 Subject: [PATCH] just removed some debug prints --- input/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/input/models.py b/input/models.py index 4406115..21f2f89 100644 --- a/input/models.py +++ b/input/models.py @@ -96,15 +96,15 @@ class Project(Volunteer): self.pid = str(self.account.code) + str(self.pk).zfill(3) # generation of finance_id if not self.project_of_year: - print('AAA') + #print('AAA') # we need to determine if this is a new year with its first new project... year = self.start.year projects = Project.objects.filter(start__year=year) if not projects: - print('BBB') + #print('BBB') self.project_of_year = 1 else: - print('CCC') + #print('CCC') projects = projects.order_by("-project_of_year")[0] self.project_of_year = int(projects.project_of_year) + 1 self.finance_id = str(self.account.code) + str(self.project_of_year).zfill(3)