+
+
+class AliasUsage(models.Model):
+ alias = models.ForeignKey(Alias, models.CASCADE, _('alias'))
+ date = models.DateField(_('date'), auto_now_add=True)
+ count = models.PositiveSmallIntegerField(_('count'))
+
+ class Meta:
+ unique_together = (('alias', 'date'),)
+ verbose_name = _('alias usage')
+ verbose_name_plural = _('alias usage')