DEV Community

ravi2teja2016
ravi2teja2016

Posted on

django html canvas load a background image on canvas

i have a html canvas where the user saves canvas and the user can laod their saved drawings onto canvas My models are as follows

class Drawing(models.Model)
    drawingJSONText = models.TextField(null=True)
    project = models.CharField(max_length=250)

class image(models.Model):
    upload = models.ImageField()
    project = models.CharField(max_length=250)

My load function is as follows it filter thedrawing…

Top comments (0)