From a5746adbe1c2bce1972b178a6078dfb41127d0cf Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Mon, 3 Jan 2022 17:41:26 +0000 Subject: [PATCH] delete useless print functions --- fet2020/tasks/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fet2020/tasks/models.py b/fet2020/tasks/models.py index 8a163076..f864fa6e 100644 --- a/fet2020/tasks/models.py +++ b/fet2020/tasks/models.py @@ -133,8 +133,6 @@ class Document(models.Model): str(self.date) + "-" + self.task.title + "-" + slugify(self.title) ) - print("clean") - if len(pad_name) > 50: raise ValidationError( _( @@ -148,8 +146,6 @@ class Document(models.Model): slugify(str(self.date) + "-" + self.task.title + "-" + slugify(self.title)) ) - print("save") - super().save(*args, **kwargs) def __str__(self):