Move the upload flag to the database, and use the database stored image size rather than going to s3.

This commit is contained in:
Jake Moshenko 2014-05-02 16:59:46 -04:00
parent 21304a5678
commit ef9fe871fc
7 changed files with 35 additions and 36 deletions

View file

@ -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):