Limitations¶
Model Types¶
At this time, there is no support for adding more model types although this functionality is planeed. Because of this, the current methods of displaying data re limited to the initally provided six different types.
Data Parsing¶
some model types will only display a single point of data, even if there is more than one field provided in the compatible_fields method. In this case, the model will use the first appropriate field that matches the field type expected. For example, if a number model type is given the following model:
class DailySummary(models.Model):
managed = models.BooleanField(default=True)
name = models.CharField() #Daily Summary
total = models.FloatField() #$1234.56
data = models.DateTimeField()
compatible_fields(self):
l = [self.name, self.total, self.date]
return l
The number model type would grab the first avaliable field that matches a number format, in this case a FloatField.