Skip to content

Commit

Permalink
Aggregate on fake (#1952)
Browse files Browse the repository at this point in the history
* run aggregate_product_votes after load_fake_data
  • Loading branch information
Pomax committed Oct 16, 2018
1 parent b26cb79 commit f33381a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions network-api/networkapi/management/commands/load_fake_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,7 @@ def handle(self, *args, **options):
print('Generating Buyer\'s Guide Products')
generate_fake_data(ProductFactory, 20)

print('Aggregating Buyer\'s Guide Product votes')
call_command('aggregate_product_votes')

print(self.style.SUCCESS('Done!'))

0 comments on commit f33381a

Please sign in to comment.