класс Device (models.Model): # имя таблицы
type = models.CharField(max_length=100, blank=False)
price = models.IntegerField()
choices = (
('AVAILABLE', 'Item ready to be purchased'),
('SOLD', 'Item Sold'),
('RESTOCKING', 'Item restocking in few days')
)
status = models.CharField(max_length=10, choices=choices, default="Sold") # Available, Sold, Restocking
issue = models.CharField(max_length=100, default='No Issue')