WARNINGS:

jlog.Log.pid: (fields.W122) 'max_length' is ignored when used with IntegerField
        HINT: Remove 'max_length' from field
pull/26/head
liuzheng712 2015-10-07 12:20:59 +08:00
parent c9e192fae4
commit 85dcc8ba63
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class Log(models.Model):
dept_name = models.CharField(max_length=20)
log_path = models.CharField(max_length=100)
start_time = models.DateTimeField(null=True)
pid = models.IntegerField(max_length=10)
pid = models.IntegerField()
is_finished = models.BooleanField(default=False)
handle_finished = models.BooleanField(default=False)
end_time = models.DateTimeField(null=True)