Finished with Phase 2.6

This commit is contained in:
2026-08-04 01:46:58 -05:00
parent 8c13c5e5ec
commit b7b21ab5e0
11 changed files with 1350 additions and 41 deletions
+6
View File
@@ -211,6 +211,8 @@ class Version(models.Model):
mods_manifest = models.JSONField(default=dict, blank=True)
animation_id = models.CharField(max_length=128, blank=True, default='', db_index=True)
animation_manifest = models.JSONField(default=dict, blank=True)
models_manifest = models.JSONField(default=dict, blank=True)
logical_manifest = models.JSONField(default=dict, blank=True)
created_at = models.DateTimeField(auto_now_add=True)
class Meta:
@@ -277,6 +279,10 @@ class ProjectAsset(models.Model):
def is_video(self):
return self.file.content_type.startswith('video/')
@property
def is_gif(self):
return self.file.content_type == 'image/gif'
class TempUpload(models.Model):
"""J621-style draft upload. Stored under media/uploads/user_<id>/<uuid><ext>