class Device(models.Model):
name = models.CharField('Название', max_length=10, blank=True)
temp_min = models.IntegerField('От:', default=0)
temp_max = models.IntegerField('До:', default=0)
...
class Device(models.Model):
name = models.CharField('Название', max_length=10, blank=True)
class DeviceTemp(Model):
device = ForeighKey(Device)
temp_min = models.IntegerField('От:', default=0)
temp_max = models.IntegerField('До:', default=0)
timestamp = ...