delete useless print functions

This commit is contained in:
2022-01-03 17:41:26 +00:00
parent 530764145b
commit a5746adbe1

View File

@@ -133,8 +133,6 @@ class Document(models.Model):
str(self.date) + "-" + self.task.title + "-" + slugify(self.title) str(self.date) + "-" + self.task.title + "-" + slugify(self.title)
) )
print("clean")
if len(pad_name) > 50: if len(pad_name) > 50:
raise ValidationError( raise ValidationError(
_( _(
@@ -148,8 +146,6 @@ class Document(models.Model):
slugify(str(self.date) + "-" + self.task.title + "-" + slugify(self.title)) slugify(str(self.date) + "-" + self.task.title + "-" + slugify(self.title))
) )
print("save")
super().save(*args, **kwargs) super().save(*args, **kwargs)
def __str__(self): def __str__(self):