How to automatically update model fields in Django?

后端 未结 0 411
甜味超标
甜味超标 2020-12-17 02:55

So I have this simple models:

class Room(models.Model):
    STATUS = (
        (\'Available\', \'Available\'),
        (\'Occupied\', \'Occupied\'),
    )
            


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