Potentially fix tests

This commit is contained in:
2022-01-04 19:43:19 +00:00
parent 6c484b984c
commit e6af66a964
7 changed files with 597 additions and 323 deletions

View File

@@ -35,6 +35,8 @@ class Command(BaseCommand):
self.delete_objects(tmodels.TrainingCategory)
self.delete_objects(tmodels.TrainingItem)
self.delete_objects(tmodels.TrainingLevel)
self.delete_objects(tmodels.TrainingItemQualification)
self.delete_objects(tmodels.TrainingLevelRequirement)
def delete_objects(self, model):
for obj in model.objects.all():