Skip to content

Commit

Permalink
command to create synthetic data
Browse files Browse the repository at this point in the history
  • Loading branch information
osaund committed Apr 29, 2021
1 parent 325c5c5 commit 65deb30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions maplecroft/index/management/commands/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def handle(self, *args, **options):

now = timezone.now()

Index.objects.all()
IndexVersion.objects.all()

for index in tqdm(indices, total=len(indices)):
index = Index(name=index)
index.save()
Expand Down

0 comments on commit 65deb30

Please sign in to comment.