updates Bitacore

This commit is contained in:
fjrodriguez
2023-02-09 11:35:27 -06:00
parent 814412e9bf
commit b73a4d50d0
4 changed files with 48 additions and 21 deletions

View File

@@ -20,6 +20,7 @@ class BitacoraErrores(models.Model):
message = models.TextField()
timestamp = models.DateTimeField(auto_now_add=True)
traceback = models.TextField(null=True,blank=True)
view = models.CharField(max_length=150,null=True,blank=True)
def __str__(self):
return f"{self.get_level_display()}: {self.message}"