Merge branch 'sam' into development

This commit is contained in:
Sam
2021-03-26 11:35:30 +00:00
2 changed files with 9 additions and 3 deletions

View File

@@ -35,11 +35,11 @@ class Command(BaseCommand):
def handle(self, *args, **kwargs):
print("Create fake data to populate database\n")
'''
print("Deleting existing Product and Company instances")
Product.objects.all().delete()
Company.objects.all().delete()
'''
# start faker
fake = Faker()
Faker.seed(0)