can we upload images directly to database and can fetch that also without creating static_media and media_root, just sweet and simple

后端 未结 0 1063
春和景丽
春和景丽 2020-12-17 20:21

models.py of app to create models for database.

    name = models.CharField(max_length=200)
    img = models.ImageField         


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