File size: 156 Bytes
a746d34
 
 
 
 
1
2
3
4
5
from django.db import models

class ImageModel(models.Model):
    image = models.ImageField(upload_to='images/')
    ocr_text = models.TextField(blank=True)