delete useless print functions
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user