Skip to content

Commit

Permalink
Rebuild the wearer site after import automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
norm committed Sep 5, 2021
1 parent a86264e commit 01f7bd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Running in development:
To test a generated hasworn site:

./manage import_csv sample/norm.csv
./manage generate_site norm

To preview the generated site:

Expand Down
1 change: 1 addition & 0 deletions hasworn/wearers/management/commands/import_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ def handle(self, *args, **options):
worn = worn,
day = date.fromisoformat(row['day']),
)
wearer.generate_wearer_site()

0 comments on commit 01f7bd3

Please sign in to comment.