Re: Displaying single-line progress while a management command runs

2017-04-29 Thread Anton Samarchyan
> Makes it easy to display a command line progress bar but, again, I end up with loads of progress bars displaying in my test output, and I assume it'll do the same when scheduling the task to run You can try a module I made to avoid this particular issue in django management command -

Re: Displaying single-line progress while a management command runs

2016-05-23 Thread Phil Gyford
Belated thanks for this Erik - that does work nicely. It gets complicated/annoying trying to untangle other kinds of logging too, including logging from third-party modules, but that's a separate problem :) On 9 May 2016 at 21:33, Erik Cederstrand wrote: > > > Den 9.

Re: Displaying single-line progress while a management command runs

2016-05-09 Thread Erik Cederstrand
> Den 9. maj 2016 kl. 14.23 skrev Phil Gyford : > > I have a custom management command which calls a method in another class, > which fetches lots of data from a third-party API. Fetching the data could > take a few seconds or it could take over an hour, depending on the

Displaying single-line progress while a management command runs

2016-05-09 Thread Phil Gyford
I have a custom management command which calls a method in another class, which fetches lots of data from a third-party API. Fetching the data could take a few seconds or it could take over an hour, depending on the quantity. I'd like to display progress on the command line, so the user knows the