mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 08:52:15 +00:00
Potentially fix tests
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user