Move the upload flag to the database, and use the database stored image size rather than going to s3.
This commit is contained in:
parent
21304a5678
commit
ef9fe871fc
7 changed files with 35 additions and 36 deletions
|
@ -220,7 +220,8 @@ class ImageStorage(BaseModel):
|
|||
created = DateTimeField(null=True)
|
||||
comment = TextField(null=True)
|
||||
command = TextField(null=True)
|
||||
image_size = BigIntegerField(null=True)
|
||||
image_size = BigIntegerField(null=True)
|
||||
uploading = BooleanField(default=True, null=True)
|
||||
|
||||
|
||||
class Image(BaseModel):
|
||||
|
|
Reference in a new issue