Django ImageField null=True doesn't make blank field equal to NULL

前端 未结 0 793
暗喜
暗喜 2021-01-20 19:45

I have a model with this field:

carousel_image = models.ImageField(upload_to=\'news/%Y/%m/%d, null=True, blank=True)

I was wondering why excl

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