Apply 7a1e952a (partial): Add caption field to Images model
This commit is contained in:
@@ -436,6 +436,7 @@ class Images(SoftDeletableModel, SiteSectorBaseModel):
|
||||
image_url = models.CharField(max_length=500, blank=True, null=True, help_text="URL of the generated/stored image")
|
||||
image_path = models.CharField(max_length=500, blank=True, null=True, help_text="Local path if stored locally")
|
||||
prompt = models.TextField(blank=True, null=True, help_text="Image generation prompt used")
|
||||
caption = models.TextField(blank=True, null=True, help_text="Image caption (40-60 words) to display with the image")
|
||||
status = models.CharField(max_length=50, default='pending', help_text="Status: pending, generated, failed")
|
||||
position = models.IntegerField(default=0, help_text="Position for in-article images ordering")
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
Reference in New Issue
Block a user