Django allows model object with empty fields to be saved

后端 未结 0 1564
别跟我提以往
别跟我提以往 2020-12-30 17:00

Below is the model named \'Dataset\' containing three fields name, desc and data_file.

class Dataset(models.Model):
    name = models.CharField(max_length=256         


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