Pārlūkot izejas kodu

Merge remote-tracking branch 'remotes/origin/locky' into test

Ansjer 2 gadi atpakaļ
vecāks
revīzija
787781fb51
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Model/models.py

+ 1 - 1
Model/models.py

@@ -2095,7 +2095,7 @@ class PermissionModel(models.Model):
 
 class LogModel(models.Model):
     id = models.AutoField(primary_key=True)
-    operation = models.CharField(max_length=100, default='', verbose_name='操作描述')
+    operation = models.TextField(default='', verbose_name='操作描述')
     time = models.IntegerField(default=0, verbose_name='操作时间')
     ip = models.CharField(default='', max_length=24, verbose_name='用户ip')
     user = models.ForeignKey(UserModel, to_field='id', on_delete=models.CASCADE, verbose_name='关联用户id')