mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-16 21:12:13 +00:00
FIX(T): Training level requirement changes spamming recent changes
This commit is contained in:
@@ -321,6 +321,8 @@ class TrainingLevelRequirement(models.Model, RevisionMixin):
|
||||
item = models.ForeignKey('TrainingItem', on_delete=models.CASCADE)
|
||||
depth = models.IntegerField(choices=TrainingItemQualification.CHOICES)
|
||||
|
||||
reversion_hide = True
|
||||
|
||||
def __str__(self):
|
||||
depth = TrainingItemQualification.CHOICES[self.depth][1]
|
||||
return f"{depth} in {self.item}"
|
||||
|
||||
Reference in New Issue
Block a user