How to pass file's content as CharField in django model?

后端 未结 0 1702
别跟我提以往
别跟我提以往 2021-01-12 14:41

I have a model for icon, which looks like this:

class Icon(models.Model):
    name = models.CharField(max_length=50)
    icon = models.FileField(upload_to=\'i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题