mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +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)
|
item = models.ForeignKey('TrainingItem', on_delete=models.CASCADE)
|
||||||
depth = models.IntegerField(choices=TrainingItemQualification.CHOICES)
|
depth = models.IntegerField(choices=TrainingItemQualification.CHOICES)
|
||||||
|
|
||||||
|
reversion_hide = True
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
depth = TrainingItemQualification.CHOICES[self.depth][1]
|
depth = TrainingItemQualification.CHOICES[self.depth][1]
|
||||||
return f"{depth} in {self.item}"
|
return f"{depth} in {self.item}"
|
||||||
|
|||||||
Reference in New Issue
Block a user