Remove history for UsageTrack

This commit is contained in:
2021-04-25 20:24:32 +00:00
parent 1ae93791f9
commit 0c184e9b1d
2 changed files with 13 additions and 2 deletions

View File

@@ -165,8 +165,6 @@ class UsageTrack(models.Model):
start_time = models.DateTimeField(auto_now_add=True)
num_seconds = models.IntegerField()
history = HistoricalRecords(excluded_fields=['num_seconds'])
class HistoryIndex(models.Model):
content_type = models.ForeignKey(ContentType, null=True, on_delete=models.SET_NULL)
object_id = models.PositiveIntegerField()