Made changes following the review from David Taylor

This commit is contained in:
Matthew Smith
2019-12-04 19:07:21 +00:00
parent d335ab3a80
commit bb44b0c88b
13 changed files with 177 additions and 340 deletions

View File

@@ -12,12 +12,6 @@ class Command(BaseCommand):
if not (settings.DEBUG):
raise CommandError('You cannot run this command in production')
# self.delete_categories()
# self.create_statuses()
# self.create_suppliers()
# self.create_collections()
# self.create_assets()
self.delete_objects(models.AssetCategory)
self.delete_objects(models.AssetStatus)
self.delete_objects(models.Supplier)