cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Need a mechanism to restrict reimporting old recipes when use import_recipes command.

Open suchoudh opened this issue 5 years ago • 1 comments

~/Dropbox/1700_food/cookbook/cookbook$ ./manage.py import_recipes

if I run the command twice the old recipes are reimported making a double entry. Either need to stop importing old recipes or need to find if there is a mechanism to revert to latest updated recipe list.

suchoudh avatar Oct 29 '19 18:10 suchoudh

Good point. I usually just drop all the old recipes, effectively storing state in my recipe sources, but that's a bit careless. You could PR, or I'll make an update when I have a minute. Thanks!

cproctor avatar Oct 29 '19 18:10 cproctor